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