代码如下
public class TestXunHuan {
public static void main(String args []) {
com.CHLM.Cat c = new com.CHLM.Cat(2012.05.13);
System.out.println("我在学JAVA!");
}
编译的时候提示说05.13这个地方出了问题,它说需要">",可我还是不知道是什么意思,所以特来求助。
public class TestXunHuan {
public static void main(String args []) {
com.CHLM.Cat c = new com.CHLM.Cat(2012.05.13);
System.out.println("我在学JAVA!");
}
编译的时候提示说05.13这个地方出了问题,它说需要">",可我还是不知道是什么意思,所以特来求助。
com.CHLM.Cat c = new com.CHLM.Cat("2012.05.13");
byte b = 1;
short s = 1;
int i =1;
long i =1L;
float f = 0.1F;
double d = 0.1;
char c ='c';
boolean flag = true;
String str = "abc";
Object obj = null;
....