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