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