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