Review Game Zone
Flash Cards
(current)
Games
Teachers
Search
Java Module 3
Test Description: Introduction to Java, First Program and Eclipse
Instructions: Answer all questions to get your test result.
1) The main method header is written as:
A
public static void main(string args)
B
public static main(String args)
C
public static void Main(String args)
D
public static void main(String, args)
2) _________ is a software program that interprets Java bytecode
A
Java API
B
Java debugger
C
Java compiler
D
Java virtual machine
3) The extension name of a Java source code file is
A
.obj
B
.exe
C
.java
D
.class
4) Which of the following is NOT a Java reserved word?
A
binary
B
public
C
static
D
void
5) A Java ______________ starts with an open brace () and ends with a closing brace
A
instruction
B
statement
C
string variable
D
block of statements
6) Every java statement ends with a:
A
period (.)
B
semicolon (;)
C
curly brace ( )
D
comma (,)
7) What does IDE stand for?
A
integrated Development Environment
B
integrated Device Environment
C
Internal Design Environment
D
Internal Device Error
8) Which of the following statements is correct?
A
Every line in a program must end with a semicolon.
B
Every class must end with a semicolon.
C
Every method must end with a semicolon.
D
Every statement in a program must end with a semicolon.
9) Java compiler translates Java source code into _________
A
machine code
B
java bytecode
C
assembly code
D
another high-level language code
10) Which of the following statements is correct to display Welcome to Java on the console?
A
System.out.println('Welcome to Java');
B
System.out.println(Welcome to Java);
C
System.out.println(Welcome to Java);
D
system.out.println(Welcome to Java);
*select an answer for all questions
Check Results & Get Answers
Play Games with the Questions Above
Teachers: Create FREE classroom games with your questions
Click for more info!
©2007-2024
ReviewGameZone.com
|
About
|
Privacy
|
Contact
|
Terms
|
Site Map
WAIT! Find what you needed?
×
Still Looking for the Answers?
Have Another Question?
Play a Review Game with These Questions?
Want to Make Your Own Test Like This One?