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