Source of TestDefaultFloatingPointType.java


  1: //TestDefaultFloatingPointType.java
  2: 
  3: public class TestDefaultFloatingPointType
  4: {
  5:     public static void main(String args[])
  6:     {
  7:         //The default type of a floating-point value is double.
  8:         //=====================================================
  9:         float f = 3.14f;
 10:     }
 11: }
 12: