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