
JAVA Basics Quiz
Authored by S Sampath Kumar
Computers
University
Used 25+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which component is used to compile, debug and execute java program?
JVM
JDK
JIT
JRE
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which component is responsible for converting bytecode into machine specific code?
JVM
JDK
JIT
JRE
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which component is responsible to run java program?
JVM
JDK
JIT
JRE
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which component is responsible to optimize bytecode to machine code?
JVM
JDK
JIT
JRE
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which line of code will output the string "Hi"?
Sys.out.print("Hi");
System.out.print("Hi");
System.out.print(Hi);
System.out.print("Hi")
6.
MULTIPLE SELECT QUESTION
10 sec • 1 pt
Which line of code will output the sum of 7 and 19?
System.out.print(7 + 19);
System.out.print("7 + 19");
system.out.print(7 + 19);
System.out.print(7 + 19)
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of these is used to perform all input & output operations in Java?
streams
Variables
classes
Methods
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?