public java.lang.Object newInstance() throws java.lang.InstantiationException, java.lang.IllegalAccessException {
  Object o=newInstanceImpl();
  if (o == null) {
    throw new InstantiationException();
  }
  return o;
}

public java . lang . Object newInstance ( ) throws java . lang . InstantiationException , java . lang . IllegalAccessException { Object o = newInstanceImpl ( ) ; if ( o == null ) { throw new InstantiationException ( ) ; } return o ; }
creates a new instance of a class .
