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