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