Fun with Java Basics

Fun with Java Basics

2nd Grade

10 Qs

quiz-placeholder

Similar activities

buahbuah

buahbuah

1st - 5th Grade

10 Qs

lady gaga

lady gaga

1st - 5th Grade

10 Qs

PON XXI Aceh-Sumut 2024

PON XXI Aceh-Sumut 2024

1st - 5th Grade

10 Qs

Exploring Hyurhg Vocabulary

Exploring Hyurhg Vocabulary

2nd Grade

10 Qs

Treble clef note naming

Treble clef note naming

1st - 5th Grade

8 Qs

U4 G2

U4 G2

2nd Grade

10 Qs

Function Definition

Function Definition

2nd Grade

10 Qs

Quiz de HTML, CSS e JavaScript

Quiz de HTML, CSS e JavaScript

2nd Grade

12 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?