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.
Geschreven voor
- Instelling
- AP Computer Science
- Vak
- AP Computer Science
Documentinformatie
- Geüpload op
- 1 augustus 2023
- Aantal pagina's
- 5
- Geschreven in
- 2023/2024
- Type
- Tentamen (uitwerkingen)
- Bevat
- Vragen en antwoorden
Onderwerpen
-
ap computer science
-
java basics
-
arrays