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