Aptitude Tests, Mental Ability, Objective MCQ Sets, Questions and Answers, PDF, Shortcut Tips

Java Programming → Page 5

Java Programming solved MCQ sets : Java MCQ : Here you are going to get a selected list of multiple choice questions (MCQ) on JAVA that will give you an idea of basic concept of object oriented programming with Java language. These section include questions with answers on basic theory of Java to test knowledge of fundamental concept of Java programming language. If you are ...READ MORE


TEST INSTRUCTION: CLICK OPTION (A, B, C, D) TO SEE ANSWER.




Q.

1. Which of the following are not the methods of the Thread class?

A.
yield()
B.
sleep(long msec)

C.
go()
D.
stop()


Show Answer
Q.

2. Division operator has ____ precedence over multiplication operator

A.
Heighest
B.
Least

C.
Equal
D.
None of These


Show Answer
Q.

3. What is the full form of JVM ?

A.
Java Very Large Machine
B.
Java Verified Machine

C.
Java Very Small Machine
D.
Java Virtual Machine


Show Answer
Q.

4. In Java code, the line that begins with /* and ends with */ is known as?

A.
Multiline comment
B.
Single line comment

C.
Both A & B
D.
None of these


Show Answer
Q.

5. Which of the following are not Java modifiers?

A.
public
B.
private

C.
friendly
D.
transient


Show Answer




eXTReMe Tracker