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