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.
Written for
- Institution
- AP Computer Science
- Course
- AP Computer Science
Document information
- Uploaded on
- August 1, 2023
- Number of pages
- 5
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers