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