Java Quiz - 1

Java Quiz - 1

University

15 Qs

quiz-placeholder

Similar activities

Lập trình trực quan

Lập trình trực quan

University

15 Qs

Arkom_INS

Arkom_INS

University

10 Qs

PHP QUIZ

PHP QUIZ

University

14 Qs

Microcontroller

Microcontroller

11th Grade - University

10 Qs

Input, output and storage de

Input, output and storage de

8th Grade - Professional Development

14 Qs

Repaso U1

Repaso U1

University

16 Qs

Memahami PBO

Memahami PBO

11th Grade - University

15 Qs

Ulangan harian 1 Algoritma dan Pemrograman

Ulangan harian 1 Algoritma dan Pemrograman

12th Grade - University

13 Qs

Java Quiz - 1

Java Quiz - 1

Assessment

Quiz

Computers

University

Hard

Created by

Java Quizs

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

JDK, JRE and JVM are __________

platform-dependent

platform-independent

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

public class Program{

    public static void main(String[] args) {

        System.out.println(null);

    }

}

null

compilation error

runtime error

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

public class Quiz{

    public static void main(String[] args) {

        System.out.println((Object)null);

        System.out.println((String)null);

    }

}

null

null

null

Runtime error

Compilation error

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Given the following code, which expression displays the word "Equal"?

  1. s1==s2

  1. s1.matchCase(s2)

  1. s1.equalsIgnoreCase(s2)

  1. s1.equals(s2)

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Predict the output ?

Compilation error

abc

411

Runtime error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

JVM allocates default values for Instance variables?

true

false

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Is it necessary to create objects to access local variables?

Yes

No

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