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 void Main(String args)
C
public static void main(String, args)
D
public static main(String args)
2) _________ is a software program that interprets Java bytecode
A
Java debugger
B
Java virtual machine
C
Java API
D
Java compiler
3) The extension name of a Java source code file is
A
.java
B
.class
C
.exe
D
.obj
4) Which of the following is NOT a Java reserved word?
A
void
B
binary
C
public
D
static
5) A Java ______________ starts with an open brace () and ends with a closing brace
A
string variable
B
instruction
C
block of statements
D
statement
6) Every java statement ends with a:
A
comma (,)
B
curly brace ( )
C
semicolon (;)
D
period (.)
7) What does IDE stand for?
A
Internal Device Error
B
Internal Design Environment
C
integrated Device Environment
D
integrated Development Environment
8) Which of the following statements is correct?
A
Every class must end with a semicolon.
B
Every method must end with a semicolon.
C
Every line in a program 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
assembly code
B
machine code
C
another high-level language code
D
java bytecode
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?