package DataTypes;
public class DataTypes
{
static boolean b = true;
static char c = 'A';
static byte x = 100;
static short s = 5000;
static int i = 3200000;
static long l = 343489089;
static float f = 45.90f;
static double d = 32987.21;
static public void main(String[] args)
{
prln(b);
prln(c);
prln(x);
prln(s);
prln(i);
prln(l);
prln(f);
prln(d);
}
static void prln(Object anyObject)
{
System.out.println(anyObject);
}
static void pr(Object anyObject)
{
System.out.print(anyObject);
}
}
0 comments:
Post a Comment