CSA Unit 2

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