Java Programming Quiz

Java Programming Quiz

University

16 Qs

quiz-placeholder

Similar activities

Logika & Pemrograman (ID)

Logika & Pemrograman (ID)

10th Grade - Professional Development

20 Qs

Porcentajes

Porcentajes

University

12 Qs

L1 - Computer Networks

L1 - Computer Networks

University

13 Qs

DBC CHAPTER 3 - REVISION

DBC CHAPTER 3 - REVISION

University

15 Qs

7333-Redes e Comunicação de Dados

7333-Redes e Comunicação de Dados

University

15 Qs

Java Control and Loop -2

Java Control and Loop -2

University

20 Qs

Lenguaje de Definición de Datos

Lenguaje de Definición de Datos

University

18 Qs

PBO Inheritance Episode 2

PBO Inheritance Episode 2

University

18 Qs

Java Programming Quiz

Java Programming Quiz

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Mohanapriya P

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

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

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Predict the output of following Java program class Main { public static void main(String args[]){ final int i; i = 20; i = 30; System.out.println(i); } }

30

Compiler Error

Garbage value

0

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Predict the output of following Java program // Note static keyword after import. import static java.lang.System.*; class StaticImportDemo { public static void main(String args[]) { out.println("Technical Training"); } }

Compiler Error

Runtime Error

Technical Training

None of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

class Main { public static void main(String args[]) { int t; System.out.println(t); } }

0

garbage value

compiler error

runtime error

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following option leads to the portability and security of Java?

Bytecode is executed by JVM

The applet makes the Java code secure and portable

Use of exception handling

Dynamic binding between objects

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a Java features?

Dynamic

Architecture Neutral

Use of pointers

Object-oriented

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

_____ is used to find and fix bugs in the Java programs.

JVM

JRE

JDK

JDB

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the size of float and double in java?

32 and 64

32 and 32

64 and 64

64 and 32

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