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