Across
- 1. program interface (API), library of prewritten classes
- 5. constructor, a constructor with no parameters
- 7. defining two or more constructors or methods with the same name but different signatures
- 9. assignment operator, shortcut syntax (+=, -=, =, /=, %=) to perform an operation (+, -, , /, or %) on both operands and store the result into the variable on the left
- 10. type, the type of the value to be given from the method
- 13. to define a method in a subclass with the same method signature as a method inheritance from a superclass
- 14. parameter, the values to be passed to a constructor or method
- 16. keyword , a keyword used to refer to the current object in a method or constructor
- 17. expression, a combination of expressions
- 18. a combination of data and operators that evaluates to a single value
- 21. sequence, starts with a \ to indicate how to display a String
- 23. to improve the readability, reusability, or structure of program code without altering its functionality
- 29. giving a starting value to a variable using the assignment operator ( = )
- 31. value, a predefined value that is used by a program when the user does not provide a value
- 32. by value, copying the value of the actual parameter to the constructor's formal parameter
- 34. operator, an operator used to compare values or expressions
- 35. an error caused by dividing by zero
- 37. principle, a software development principle that stands "Don't Repeat Yourself" which aims to reduce repetition in code
- 38. type, the format of the data that can be stored in a variable
- 39. to cut off data from the end
- 41. indicates that the variable does not refer to any object
- 42. expression, a logical statement that gives either a true or false value
Down
- 2. using the assignment operator ( = ) to initialize or change the value stored in a variable
- 3. parameter, the value given to an attribute when initializing an object
- 4. variable, a variable defined in a class that represents an attribute of an object
- 6. an object-oriented programming concept where the instance variables of a class are hidden from other classes and can be accessed only through the methods of the class
- 8. method, gives the value stored in an instance variable
- 11. an error that occurs when a reference does not point to an object
- 12. Value,a special value used to notify the program to accepting input
- 15. where a variable can be used
- 19. type, a basic data type that Java predefines(int/double)
- 20. type, a data type that contains a pointer to the memory location of an object
- 22. a container that stores a value in memory
- 24. keyword, exits a method and provides the value to where the method is called
- 25. method, changes the value stored in an instance variable
- 26. a collection of methods or reusable components of code
- 27. variable, a variable declared and accessible within a specific block of code
- 28. giving a name and data type to a variable
- 30. constructor, a constructor that has a specific number of arguments to be passed to assign values to an object's instance variables
- 33. a source code representation of a value
- 35. modifier, a keyword used to set the visibility of classes, variables, constructors, and methods
- 36. the data that is operated on
- 40. by value, a copy of the value is given to where the method is called
