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