new Java Keyword

The new keyword is used to create a new instance of a class.

Examples

  String sName = new String();
  Float fVal = new Float(0.15);
  

Remarks

Related Topics

None.