AP Computer Science Midterm Practice EXAM- Java Basics, Arrays QUESTIONS WITH ANSWERS 2023
AP Computer Science Midterm Practice EXAM- Java Basics, Arrays QUESTIONS WITH ANSWERS 2023 Class - ANSWER Java code as a template for an Object (this is abstract code not tied to any specific instance of the object) Instance - ANSWER One object made from the class template (has own instance variables, methods, identity, etc.) Instance Variable - ANSWER variables used to maintain the state of an instance (persistent) Constructor - ANSWER code that is run when you use the new keyword Method - ANSWER code to respond to a message Public variable - ANSWER In a class, anything marked as "public" can be accessed by any client. Private Variable - ANSWER Anything marked "private" can only be accessed inside the class code.
Escuela, estudio y materia
- Institución
- AP Computer Science
- Grado
- AP Computer Science
Información del documento
- Subido en
- 1 de agosto de 2023
- Número de páginas
- 5
- Escrito en
- 2023/2024
- Tipo
- Examen
- Contiene
- Preguntas y respuestas
Temas
-
ap computer science
-
java basics
-
arrays