Unit 2

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