Category Archives

Exceptions in Java

What is an Exception? An exception is an unwanted or unexpected event, which occurs during the execution of a...

Exceptions in Java

What is an Exception? An exception is an unwanted or unexpected event, which occurs during the execution of a...

Constructor Overloading in Java

In addition to overloading methods, we can also overload constructors in java. Overloaded constructor is called based upon the...

Constructor Overloading in Java

In addition to overloading methods, we can also overload constructors in java. Overloaded constructor is called based upon the...

Singleton Class in Java

In object-oriented programming, a singleton class is a class that can have only one object (an instance of the...

Singleton Class in Java

In object-oriented programming, a singleton class is a class that can have only one object (an instance of the...