What this deck covers
This deck focuses on Objects Instances Of Classes, giving you a quick way to review the definitions, rules, and examples that matter most for AP Computer Science a.
Study Objects Instances Of Classes in AP Computer Science a with focused flashcards that help you recognize the idea, recall the key rule, and apply it in practice-style prompts.
0% Complete
What is the main benefit of using interfaces?
Tap card or press Space to flip
Support multiple inheritance of type. Classes can implement multiple interfaces for flexible design.
How well did you know it?
Card 1 / 67
Space to flip · ← / → to move · once flipped, → Got it · ← Still learning
This deck focuses on Objects Instances Of Classes, giving you a quick way to review the definitions, rules, and examples that matter most for AP Computer Science a.
Work through these flashcards in short sessions. Try to answer each prompt before flipping the card, then revisit any cards you miss until the explanation feels automatic.
Answer: Support multiple inheritance of type. Classes can implement multiple interfaces for flexible design.
Answer: ==. Tests reference equality, not object content comparison.
Answer: Accessible within package and subclasses. Allows package and subclass access while restricting others.
Answer: Current object instance. Allows access to current object's fields and methods within class.
Answer: extends. Establishes parent-child relationship between classes for code reuse.
Answer: Constructor. Constructors set initial values for object instance variables.
Answer: Accessible within package and subclasses. Allows package and subclass access while restricting others.
Answer: Set. Mathematical set behavior ensures unique element storage.
Answer: Subclass provides specific implementation of a method already defined in its superclass. Allows customized behavior while maintaining same method signature.
Answer: Belongs to the class, not any instance. Shared across all instances rather than per-object storage.
Answer: Declared without an implementation. Must be implemented by concrete subclasses to provide functionality.
Answer: this. References the specific object calling the method or constructor.
Answer: Initialize an object. Sets up initial state and prepares object for use.
Answer: Access parent class methods and constructors. Enables access to inherited functionality from parent class.
Answer: Default constructor is invoked. Creates object with default field values when no parameters given.
Answer: Support multiple inheritance of type. Classes can implement multiple interfaces for flexible design.
Answer: this. References the specific object calling the method or constructor.
Answer: public. Provides unrestricted access across all classes and packages.
Answer: Default constructor is invoked. Creates object with default field values when no parameters given.
Answer: Hiding internal state and requiring all interaction through methods. Protects data integrity by controlling access through methods.
Answer: No return type. Constructors initialize objects but don't return values.
Answer: toString(). Provides readable text representation for debugging and display.
Answer: null. Uninitialized object references automatically default to null value.
Answer: A class inherits fields and methods from another class. Promotes code reuse by sharing parent class features.
Answer: final. Makes variables immutable after initial assignment.
Answer: equals(). Compares object content rather than reference addresses.
Answer: null. Uninitialized object references automatically default to null value.
Answer: List. Ordered collections that maintain insertion order and duplicates.
Answer: Set. Mathematical set behavior ensures unique element storage.
Answer: Instantiation. The act of creating a specific object from a class blueprint.
Answer: A variable defined in a class for which each instantiated object has its own value. Each object maintains its own copy of these variables.
Answer: Multiple methods with the same name but different parameters. Enables method reuse with different parameter combinations.
Answer: interface. Defines contracts that implementing classes must fulfill.
Answer: Ability of different classes to be treated as instances of the same class through inheritance. Enables single interface to represent different underlying types.
Answer: Declared without an implementation. Must be implemented by concrete subclasses to provide functionality.
Answer: A class that cannot be instantiated and may contain abstract methods. Serves as template requiring subclasses to implement methods.
Answer: public. Provides unrestricted access across all classes and packages.
Answer: Constructor. Constructors execute automatically during object creation process.
Answer: A variable defined in a class for which each instantiated object has its own value. Each object maintains its own copy of these variables.
Answer: new. The 'new' keyword allocates memory and calls the constructor.
Answer: ArrayList is resizable, array has fixed size. ArrayList grows dynamically while arrays have compile-time size.
Answer: equals(). Compares object content rather than reference addresses.
Answer: ==. Tests reference equality, not object content comparison.
Answer: ArrayList is resizable, array has fixed size. ArrayList grows dynamically while arrays have compile-time size.
Answer: Instance method. Non-static methods require object instance to be invoked.
Answer: Instance method. Non-static methods require object instance to be invoked.
Answer: Ability of different classes to be treated as instances of the same class through inheritance. Enables single interface to represent different underlying types.
Answer: extends. Establishes parent-child relationship between classes for code reuse.
Answer: List. Ordered collections that maintain insertion order and duplicates.
Answer: A method that belongs to the class, rather than any object instance. Static methods can be called without creating object instances.
Answer: implements. Establishes contract between interface and implementing class.
Answer: ClassName.variableName. Static variables belong to class, accessed via class name.
Answer: Current object instance. Allows access to current object's fields and methods within class.
Answer: Hiding internal state and requiring all interaction through methods. Protects data integrity by controlling access through methods.
Answer: Constructor. Constructors set initial values for object instance variables.
Answer: implements. Establishes contract between interface and implementing class.
Answer: Belongs to the class, not any instance. Shared across all instances rather than per-object storage.
Answer: ClassName.variableName. Static variables belong to class, accessed via class name.
Answer: final. Prevents inheritance by making class non-extendable.
Answer: An instance of a class. Objects are concrete realizations of classes with specific data values.
Answer: interface. Defines contracts that implementing classes must fulfill.
Answer: Access parent class methods and constructors. Enables access to inherited functionality from parent class.
Answer: An instance of a class. Objects are concrete realizations of classes with specific data values.
Answer: Instantiation. The act of creating a specific object from a class blueprint.
Answer: Constructor. Constructors execute automatically during object creation process.
Answer: final. Prevents inheritance by making class non-extendable.
Answer: A class inherits fields and methods from another class. Promotes code reuse by sharing parent class features.