已知自定义类的名字为spot,那么定义一个名字为mySpot的spot对象的语句为( )
A: int mySpot;
B: spot mySpot=new spot( )
C: spot mySpot=new spot( );
D: B.spot mySpot=spot( );
A: int mySpot;
B: spot mySpot=new spot( )
C: spot mySpot=new spot( );
D: B.spot mySpot=spot( );
举一反三
- He was hit by a falling stone and killed . A: in the spot B: on the spot C: on a spot D: in a spot
- littleSpot继承自spot,语句写成( ) A: class littleSpot EXTENDS spot B: class littleSpot extends spot C: class littleSpot extend spot D: class littleSpot from spot
- The police caught the man ______ into a house, videoed the whole process and arrested him ______. A: to break, on the spot B: break, on the spot C: break, on spot D: breaking, on the spot
- I should come to the spot soon, but that I have been much engaged with some formalities. A: I would have come to the spot soon B: I should have come to the spot soon C: I could come to the spot sooner D: I would come to the spot sooner
- I will spot you while you do the bench press. “spot” here means _______.