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