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