Java Programming Quiz

Java Programming Quiz

University

16 Qs

quiz-placeholder

Similar activities

QUIZ 1: REVIEW ON C

QUIZ 1: REVIEW ON C

University

15 Qs

TEST1.PY

TEST1.PY

10th Grade - University

20 Qs

QUIZ 2

QUIZ 2

University

20 Qs

Review Quiz (Chapter 3&4)

Review Quiz (Chapter 3&4)

University

20 Qs

ĐC CNTT_Chương 1

ĐC CNTT_Chương 1

University

20 Qs

C Programming Unit-1 Test-2

C Programming Unit-1 Test-2

University

20 Qs

Đề ôn tập cuối HKI lớp 5

Đề ôn tập cuối HKI lớp 5

6th Grade - University

17 Qs

quiz pertemuan 2 asik ddp

quiz pertemuan 2 asik ddp

University

15 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