·1· The OCA JP 7 Exam (1) Java Basic Time: 33 minutes No. of questions: 11 Q1-1. What are the valid components of a Java source file (choose all that apply): a package statement b import statements c methods d variables e Java compiler f Java Runtime Environment Q1-2. The following numbered list of Java class components is not in any particular order. Select the correct order of their occurrence in a Java class (choose all that apply): 1 comments 2 import statement 3 package statement 4 methods 5 class declaration 6 variables a 1, 3, 2, 5, 6, 4 b 3, 1, 2, 5, 4, 6 c 3, 2, 1, 4, 5, 6 d 3, 2, 1, 5, 6, 4 Q1-3. Which of the following examples define the correct Java class structure? a #connect java compiler; #connect java virtual machine; class EJavaGuru {} b package java compiler; import java virtual machine; class EJavaGuru {} c import javavirtualmachine.*; package jav
java基础试题及答案英文_java认证专员测试题(英文版) java basic (附答案)
最新推荐文章于 2021-02-25 12:11:02 发布