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