JAVA认证历年真题:SCJP考试真题和解析 例题1:Choose the three valid identifiers from those listed below.A. IDoLikeTheLongNameClassB. $byteC. constD. _okE. 3_case解答:A, B, D点评:Java中的标示符必须是字母、美元符($)或下划线(_)开头。关键字与保留字不能作为标示...
QUESTION NO: 70Which statement about static inner classes is true?A. An anonymous class can be declared as static.B. A static inner class cannot be a static member of the outer class.C. A static inner...
JAVA认证历年真题:SCJP考试真题和解析 例题1:Choose the three valid identifiers from those listed below.A. IDoLikeTheLongNameClassB. $byteC. constD. _okE. 3_case解答:A, B, D点评:Java中的标示符必须是字母、美元符($)或下划线(_)开头。关键字与保留字不能作为标示...
1. Which of the following range of short is correct? A. -27 -- 27-1 B. 0 -- 216-1 C. ?215 -- 215-1 D. ?231 -- 231-1翻译下面哪些是short型的取值范围。 答案 C解析 短整型的数据类型的长度是16 bits,有符号。另外需要说明的是java中所有的整(I...
scjp模拟试题(一) Question No: 11.public class test (2. public static void main (String args[]) { 3. int i = 0xFFFFFFF1; 4. int j = ~i; 5. 6. } 7. )What is the decimal value of j at line 5? A. 0 B. 1 C. 14 ...
Question1ClicktheExhibitbutton.10.publicclassClassA{11.publicvoidmethodA(){12.ClassBclassB=newClassB();13.classB.getValue();14.}15.}And:20.classClassB{21.publicClassCclassC;22.23.publicStringgetValue(...
Choose the three valid identifiers from those listed below. A. IDoLikeTheLongNameClass B. $byte C. const D. _ok E. 3_case 解答:A, B, D 点评:Java中的标示符必须是字母、美元符($)或下划线(_)开头。关键字与保...
QUESTION NO: 1Given:import java.util.*;class Test {public static void main(String[] args) {// insert code herex.add("one");x.add("two");x. add ("TWO");System.out.printIn(...
yModule 1-JAVA 基础一、选择题:Question 1Given:35. String #name = "Jane Doe";36. int $age=24;37. Double _height = 123.5;38. double ~temp = 37.5;Which two are true? (Choose two.)A. Line 35 will not c...