March 2025

Exception Handling

An Exception is an unwanted or unexpected event that occurs during the execution of a program and disrupts the normal flow of the program that lead to abnormal termination. It occurs when unexpected events take place, like accessing an invalid index, dividing by zero, or trying to open a file that does not exist. To handle such […]

Exception Handling Read More »

Java Inner Class

In Java, Inner Class also called as Nested Class is the class declared inside class or interface used to logically group classes and interfaces in one place to be more readable and maintainable. Syntax of Inner class Advantage of Java Inner Class Difference between nested class and inner class in Java An inner class is

Java Inner Class Read More »

Scroll to Top