(2, 1)
(0, 5)
(4, -5)
(-1, 8)
(15, 5)
第1题:
1.publicclassTarget{2.privateinti=0;3.publicintaddOne(){4.return++i;5.}6.}And:1.publicclassClient{2.publicstaticvoidmain(String[]args){3.System.out.println(newTarget().addOne());4.}5.}WhichchangecanyoumaketoTargetwithoutaffectingClient?()
A.Line4ofclassTargetcanbechangedtoreturni++;
B.Line2ofclassTargetcanbechangedtoprivateinti=1;
C.Line3ofclassTargetcanbechangedtoprivateintaddOne(){
D.Line2ofclassTargetcanbechangedtoprivateIntegeri=0;
第2题:
有以下程序:
A.1,2,3,4,5,6,7,8,9,0,
B.0,9,8,7,6,5,1,2,3,4,
C.0,9,8,7,6,5,4,3,2,1,
D.1,2,3,4,9,8,7,6,5,0,
第3题:
{0、2、1、4、3、9、5、8、6、7}是以数组形式存储的最小堆,删除堆顶元素0后的结果是()
A.{2、1、4、3、9、5、8、6、7}
B.{1、2、5、4、3、9、8、6、7}
C.{2、3、1、4、7、9、5、8、6}
D.{1、2、5、4、3、9、7、8、6}
第4题:
Given the following code: 1) public void modify() { 2) int i, j, k; 3) i = 100; 4) while ( i > 0 ) { 5) j = i * 2; 6) System.out.println (" The value of j is " + j ); 7) k = k + 1; 8) i--; 9) } 10) } Which line might cause an error during compilation?()
第5题:
ote the following structures in your database server: 1:Extents 2:OS Blocks 3:Tablespace 4:Segments 5:Oracle Data Block Which option has the correct arrangement of these structures from the smallest to the largest()
第6题:
Which of the following firing order may be used for a 6-cylinder engine? ( )
A.1-2-3-4-5-6
B.1-2-3-6-5-4
C.1-5-3-6-2-4
D.1-3-4-5-6-2
第7题:
切片操作list(range(6))[::-1]()
第8题:
计算:
(1)(-8)-(-1) (2)45+(-30)
(3)-1.5-(-11.5) (4)-1/4-(-1/2)
(5)15-[1-(-20-4)] (6)-40-28-(-19)+(-24)
(7)22.54+(-4.4)+(-12.54)+4.4
(8) (2/3-1/2)-(1/3-5/6)
(9)2.4-(-3/5)+(-3.1)+4/5 (10)(-6/13)+(-7/13)-(-2)
(11)3/4-(-11/6)+(-7/3)
(12)11+(-22)-3×(-11)
(13)(-0.1)÷1/2×(-100)
(14)(-3/4)×(-2/3 - 1/3) ×0
(15)(-2)3-32
(16)23÷[(-2)3-(-4)]
(17)(3/4-7/8)÷(-7/8)
(18)(-60)×(3/4+5/6)
(1)(-8)-(-1)=-7
(2)45+(-30)=15
(3)-1.5-(-11.5)=10
(4)-1/4-(-1/2)=1/4
(5)15-[1-(-20-4)]=-10 (6)-40-28-(-19)+(-24)=-73
(7)22.54+(-4.4)+(-12.54)+4.4=10
(8) (2/3-1/2)-(1/3-5/6)=-1
(9)2.4-(-3/5)+(-3.1)+4/5=0.7 (10)(-6/13)+(-7/13)-(-2)=1
(11)3/4-(-11/6)+(-7/3)=1/4
(12)11+(-22)-3×(-11)=22
(13)(-0.1) ÷1/2×(-100)=20
(14)(-3/4) ×(-2/3 - 1/3) ×0=0
(15)(-2)3-32=-17
(16)23÷[(-2)3-(-4)]=-23/4
(17)(3/4-7/8) ÷(-7/8)=1/7
(18)(-60) ×(3/4+5/6)=-95
第9题:
下列属于十进制作数码的是:()
第10题:
Given the following code fragment: 1) String str = null; 2) if ((str != null) && (str.length() > 10)) { 3) System.out.println("more than 10"); 4) } 5) else if ((str != null) & (str.length() < 5)) { 6) System.out.println("less than 5"); 7) } 8) else { System.out.println("end"); } Which line will cause error?()