List of article on JAVA Basics

Exception Handling In Method Overriding

Exceptions are the customary way in java to a calling method that an abnormal condition has occurred. When a method encounters an abnormal condition that it can’t handle itself, it may throw an exception. Throwing an exception is like throwing or flashing red ball to indicate that there is a problem that can’t be handled where … Continue reading Exception Handling In Method Overriding

Super Keyword In Java With Examples

In java the keyword super refers to the superclass of the class in which super appears. A subclass inherits the accessible variables and methods from its superclass, but the constructors of the superclass are not inherited in the subclass. They can only be invoked from constructors of subclass using the keyword super. The superclass constructor … Continue reading Super Keyword In Java With Examples

Final Keyword In Java With Examples

In java final is a keyword or reserved word and can be applied to variables, methods, classes etc. The reason behind final keyword is to make entity non modifiable. It means when you make a variable or class or method as final you are not allowed to change that variable or class or method and … Continue reading Final Keyword In Java With Examples