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