hi guys.
what' s up?
I wrote this program:
and compiler give me this error:Code://: object/E9
public class E9{
public static void main(String[ ] args){
Boolean Bo= true;
boolean bo= Bo;
System.out.println("Boolean = " + Bo);
System.out.println("boolean = " + bo);
Character Ch='a';
char ch=Ch;
System.out.println("Character = " + Ch);
System.out.println("char = " + ch);
Byte By=1;
byte by=By;
System.out.println("Byte = " + By);
System.out.println("byte = " + by);
Short Sh=2;
short sh=Sh;
System.out.println("Short = " + Sh);
System.out.println("short = " + sh);
Integer I=3;
int i=I;
System.out.println("Integer = " + I);
System.out.println("int = " + i);
Long L=64;
long l=L;
System.out.println("Long = " + L);
System.out.println("long = " + l);
Float F=5.1;
float f=F;
System.out.println("Float = " +F);
System.out.println("float = " + f);
Double D=6.1;
double d=D;
System.out.println("Boolean = " +Bo);
System.out.println("boolean = " + bo);
}
}//~
***
E9.java:24: incompatible types
found : int
required: java.lang.Long
Long L=64;
^
E9.java:28: incompatible types
found : double
required: java.lang.Float
Float F=5.1;
^
2 errors
****
what's wrong with my program?
thanks.

