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