Search Header Logo

JAVA Basics Quiz

Authored by S Sampath Kumar

Computers

University

Used 25+ 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

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers