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