A) Encapsulation B) Abstraction C) Inheritance D) Polymorphism
A) var B) class C) new D) this
A) An instance of an object B) A variable in C++ C) Blueprint for creating objects D) A function in JavaScript
A) Extending the functionality of a parent class B) Hiding implementation details C) Ability for objects of different classes to be treated as objects of a common superclass D) Creating objects from classes
A) Inheriting properties from a parent class B) Binding together the data and the methods that operate on the data C) Creating multiple instances of an object D) Overriding parent class methods
A) A special method that is automatically called when an object is created B) A static method C) A method used to destroy objects D) A method that returns a value
A) Implementing an interface B) Declaring a variable C) Refers to the superclass of a class, used to call methods from the superclass D) Accessing a private method
A) Creating new methods in a subclass B) Hiding the implementation details of a method C) Having multiple methods in a class with the same name but different parameters D) Overriding a method from a superclass
A) Hiding the implementation details while showing only the necessary details of an object B) Accessing private class members C) Creating multiple objects from a class D) Overriding methods from a parent class
A) Hides the object details B) Allows for class extension C) Allows a class, method, or field to be accessed by any other code in the same package or another package D) Restricts access to within the same class only
A) Prevents modification of the class, method, or variable B) Forces method overriding C) Enables dynamic method binding D) Allows multiple inheritance
A) Do Repeat Yourself B) Dynamic Reuse Yard C) Don't Repeat Yourself D) Data Representation Year
A) Composition B) Dependency C) Aggregation D) Inheritance
A) super B) this C) extends D) new
A) Single Responsibility Principle B) Interface Segregation Principle C) Liskov Substitution Principle D) Open/Closed Principle
A) Open/Closed Principle B) Single Responsibility Principle C) Liskov Substitution Principle D) Interface Segregation Principle
A) To have multiple methods with the same name in a class B) To create new methods in a subclass C) To hide the implementation details of a method D) To provide a specific implementation of a method that is already provided by its superclass
A) super B) extends C) this D) implements
A) final B) static C) public D) abstract
A) Encapsulation B) Abstraction C) Inheritance D) Polymorphism
A) Overloading B) Encapsulation C) Inheritance D) Overriding
A) Inheritance B) Aggregation C) Dependency D) Composition
A) Abstraction B) Encapsulation C) Polymorphism D) Inheritance
A) Constructor B) Mutator method C) Destructor D) Accessor method
A) Overpassing B) Overloading C) Override D) Overriding
A) Single Responsibility Principle B) Liskov Substitution Principle C) Dependency Inversion Principle D) Open/Closed Principle
A) Interfaces B) Virtual Inheritance C) Abstract Classes D) Polymorphism
A) Protected B) Public C) Private D) Default |