Fun with Java Basics

Fun with Java Basics

2nd Grade

10 Qs

quiz-placeholder

Similar activities

Quiz on Foundations of Bank Lending

Quiz on Foundations of Bank Lending

2nd Grade

15 Qs

IT

IT

2nd Grade

7 Qs

Future Professions Exploration

Future Professions Exploration

1st - 5th Grade

5 Qs

grade 6

grade 6

1st - 5th Grade

7 Qs

ClassDojo Family Quiz

ClassDojo Family Quiz

2nd Grade

10 Qs

Penjas kelas 9

Penjas kelas 9

1st - 5th Grade

15 Qs

Kuis Literasi Digital

Kuis Literasi Digital

2nd Grade

10 Qs

mid term break quiz 2

mid term break quiz 2

2nd Grade

10 Qs

Fun with Java Basics

Fun with Java Basics

Assessment

Quiz

Others

2nd Grade

Hard

Created by

ashok Kk

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does Java run on?

JavaScript Engine

Java Virtual Machine (JVM)

Java Development Kit (JDK)

Java Runtime Environment (JRE)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Is Java a programming language?

Java is a web browser.

Yes, Java is a programming language.

Java is a database management system.

Java is a type of coffee.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol is used to end a statement in Java?

;

!

:

.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What do we call a block of code that performs a specific task in Java?

class

function

variable

method

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main method in Java?

public void main(String[] args)

static void main(String[] args)

public static main(String[] args)

public static void main(String[] args)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Can you name a type of variable in Java?

string

float

boolean

int

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What do we use to create a new object in Java?

new instance

new keyword

object constructor

create keyword

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?