FileDocCategorySizeDatePackage
Dec1a.javaAPI DocExample347Sat Sep 29 16:48:02 BST 2001None

Dec1a.java

// Example 1a of declarations and assignment
import java.io.*;
class Dec1a {
  public static void main (String[] args) {
    int a;
    double d;
    float fNum;
    a = 4;
    d = 45.7;
    fNum = 6.78f;
    System.out.println(a);
    System.out.println(d);
    System.out.println(fNum);
  } // end of main
} // end of class Dec1a