Name

InstantiationError

Synopsis

Signals an attempt to instantiate an interface or abstract class.

java.lang.InstantiationError

Figure 10-33. java.lang.InstantiationError

public class InstantiationError extends IncompatibleClassChangeError {
// Public Constructors
     public InstantiationError( );  
     public InstantiationError(String s);  
}

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.