摘要:
如下代码,执行test()函数后,屏幕打印结果为() public class ByteTest { public void add(Byte b) { b = b++; } public void test() { Byte a = 127; Byte b = 127; add(++a); Sys 阅读全文
摘要:
以下代码输出结果为: public class Test { public static void main(String args[]) { int x = -5; int y = -12; System.out.println(y % x); } } 答案:-2 取模运算,结果的符号和被除数符号 阅读全文
摘要:
已知如下类定义: class Base { public Base (){ //... } public Base ( int m ){ //... } public void fun( int n ){ //... } } public class Child extends Base{ // m 阅读全文