Changes

Jump to navigation Jump to search
254 bytes added ,  02:41, 26 March 2015
Line 15: Line 15:     
public static void main(String[] args) {
 
public static void main(String[] args) {
int variable = 88;
+
int myInt = 88; //Integer 32 bit
System.out.println(variable);
+
                short myShort; //Short 16 bit
 +
                long myLong; //Long 64 bit
 +
 
 +
                double myDouble; //Double
 +
                float myFloat = 325.25f //Float
 +
               
 +
char myChar = 'y'; //Char
 +
                System.out.println(variable);
 
}
 
}
    
}</source
 
}</source

Navigation menu