“When an unusual, irregular, abnormal or nonstandard condition arises in a sequence of code at run time this phenomenon is referred as Exception handling”
An exception is a runtime error.
In Object Oriented, an exception is an object that is used to describes an exceptional condition that has occurred in a piece of code.
In java programming language, an interface is an abstract, conceptual or concrete type that is used to specify an interface.
How to use an interface:
It means that, using interface, we can specify what a class must do, but not how it does it.
Inheritance is a process which allows inheriting the methods and properties of parent or super class.
Deriving an object from an existing class (super class)
In Object Oriented programming, “class is a blue print that is used to create objects”
A class is a collection of things that share common attributes like class of students.
Some characteristic of a class