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