Object Oriented Programming
What is an object in Object Oriented Programming?
An instance of a class
What is a class in Object Oriented Programming?
A blueprint for creating objects
What is inheritance in Object Oriented Programming?
The process of creating a new class from an existing class
What is encapsulation in Object Oriented Programming?
The bundling of data and methods that operate on the data into a single unit
What is polymorphism in Object Oriented Programming?
The ability of a method to do different things based on the object it is acting upon
What does the 'this' keyword refer to in Object Oriented Programming?
The current object
What is a constructor in Object Oriented Programming?
A method that is called when an object is created
What is a method in Object Oriented Programming?
A function that is associated with an object
What is a superclass in Object Oriented Programming?
A class that is inherited by another class
What is a subclass in Object Oriented Programming?
A class that is derived from another class