in28minutes
Home
Roadmaps
Flashcards
Bookshelf
Subscribe
Object Oriented Programming Again
Java OOPS - 8 Cards
Click here to toggle all cards
Inheritance
Inheriting properties and methods from a parent class for code reuse
Object class
The default class that all Java classes inherit from
Method Overriding
Redefining a method in a subclass with the same name and signature as in its superclass.
Abstract Class
A class outline with some details filled in and some left blank. Cannot create instances.
extends
Keyword used to implement inheritance in Java (e.g., public class Student extends Person)
Interface
A blueprint of a class, containing method signatures
implements
Keyword used to implement an interface in Java (e.g., public class MarioGame implements GamingConsole)
Polymorphism
The ability of an object to take on multiple forms or have multiple behaviors