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