摘要:
引用StackOverFlow中的例子: This fails to compile. I said that the constructor for Foo(double) is explicit, and the above only chooses to call constructors t 阅读全文
摘要:
C/C++里指针通常是指向一个对象的,所以不能指向某一变量(Object i,i为某个变量),不过在Java中所有变量都是对象 举个例子: int a=1; int *p=a; 报错:invalid conversion from 'int' to ' int* '; int *a = new in 阅读全文