Sail E0 Webinar

MCQs

Total Questions : 26 | Page 1 of 3 pages
Question 1. Which of the following are not Java keywords ?
  1.    double
  2.    switch
  3.    then
  4.    instanceof
 Discuss Question
Answer: Option C. -> then
Question 2. Select TWO correct ways of including (importing) package in our program?
  1.    Option A & C
  2.    Option A & D
  3.    Option B & D
  4.    Option B & C
 Discuss Question
Answer: Option C. -> Option B & D
Question 3. What will be the output of the following Java program?
  1.    true
  2.    false
 Discuss Question
Answer: Option A. -> true
Question 4. What will be the output of the following Java program?
  1.    i i i i i
  2.    0 1 2 3 4
  3.    i j k l m
  4.    None of the mentioned
 Discuss Question
Answer: Option A. -> i i i i i
Question 5. What will be the output of the following Java code?
  1.    25
  2.    24
  3.    32
  4.    33
 Discuss Question
Answer: Option C. -> 32
Question 6. Java was developed in which year
  1.    1992
  2.    1993
  3.    1994
  4.    1995
 Discuss Question
Answer: Option D. -> 1995
Question 7. JRE stands for
  1.    Java Run Environment
  2.    Java Run Execution
  3.    Java Runtime Environment
  4.    Java Ready Execution
 Discuss Question
Answer: Option C. -> Java Runtime Environment
Question 8. Command to run a Java program
  1.    javaa
  2.    java
  3.    jaava
  4.    jaavaa
 Discuss Question
Answer: Option B. -> java
Question 9. JDK stands for
  1.    Java Developer Kit
  2.    Java Development Kit
  3.    Java Design Kit
  4.    Java Debugging Kit
 Discuss Question
Answer: Option B. -> Java Development Kit
Question 10. Java Programming was designed by ______
  1.    Sun MicroSystems
  2.    Mozilla Corporation
  3.    Microsoft
  4.    Amazon Inc.
 Discuss Question
Answer: Option A. -> Sun MicroSystems

Latest Videos

Latest Test Papers