Home / Programming Questions / JAVA MCQs / Page 7

JAVA MCQs with answers Page - 7

Dear candidates you will find MCQ questions of JAVA here. Learn these questions and prepare yourself for coming examinations and interviews. You can check the right answer of any question by clicking on any option or by clicking view answer button.
Share your questions by clicking Add Question

R

Ram Sharma • 188.81K Points
Coach

Q. Who is considered as the creator of JAVA ?

(A) Dennis Richie
(B) Ken Thompson
(C) James Gosling
(D) Bjarne Stroupstrup

R

Ram Sharma • 188.81K Points
Coach

Q. Which of the following statements about the Java language is true?

(A) Java supports only Procedural Oriented Programming approach
(B) Both Procedural and Object Oriented Programming are supported in Java
(C) Java supports only Object Oriented Programming approach
(D) None of the Above

R

Ram Sharma • 188.81K Points
Coach

Q. JRE stands for

(A) Java Realtime Environment
(B) Java Rapid Enterprise
(C) Java Runtime Environment
(D) None of the above

R

Ram Sharma • 188.81K Points
Coach

Q. Java source files are compiled and converted to

(A) Object code
(B) machine code
(C) Bytecode
(D) executable file

R

Ram Sharma • 188.81K Points
Coach

Q. JVM is ___________for bytecode.

(A) a compiler
(B) an interpreter
(C) assembler
(D) none of the above

R

Ram Sharma • 188.81K Points
Coach

Q. What is the size of int data type in java?

(A) 1 bytes
(B) 2 bytes
(C) 4 bytes
(D) 8 bytes

R

Ram Sharma • 188.81K Points
Coach

Q. Which is a valid float literal?

(A) 1.23
(B) 2
(C) 1.23d
(D) 1.23f

R

Ram Sharma • 188.81K Points
Coach

Q. What is the numerical range of a char in Java?

(A) -128 to 127
(B) 0 to 256
(C) 0 to 32767
(D) 0 to 65535

Login

Forgot username? click here

Forgot password? Click here

Don't have account? Register here.