Search Header Logo

JAVA Basics Quiz

Authored by S Sampath Kumar

Computers

University

Used 29+ times

JAVA Basics Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

21 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which component is used to compile, debug and execute java program?

JVM

JDK

JIT

JRE

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which component is responsible for converting bytecode into machine specific code?

JVM

JDK

JIT

JRE

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which component is responsible to run java program?

JVM

JDK

JIT

JRE

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which component is responsible to optimize bytecode to machine code?

JVM

JDK

JIT

JRE

5.

MULTIPLE CHOICE QUESTION

20 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

System class is defined in________

java.util package

java.lang package

java.io package

java.awt package

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?