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