InstantiationException Java

Following is the hierarchy. java.lang.Object –> java.lang.Throwable –> java.lang.Exception –> java.lang.InstantiationException The InstantiationException constructor is overloaded, apart default with another with string parameter. This exception was introduced with JDK 1.0, the starting version of Java. This exception is thrown by the JVM when it is unable to create an instance of a class when the …

InstantiationException Java Read More »