Packages in Java

Packages in Java

University

6 Qs

quiz-placeholder

Similar activities

ข้อสอบย่อยวิชา จาวาเว็บ ครั้งที่ 6

ข้อสอบย่อยวิชา จาวาเว็บ ครั้งที่ 6

University

10 Qs

Basics of JAVA

Basics of JAVA

University

11 Qs

JAVA I/O

JAVA I/O

University

10 Qs

Advanced Java Lab_4CSN

Advanced Java Lab_4CSN

University

10 Qs

JRB2 Quiz 4

JRB2 Quiz 4

University

10 Qs

Java

Java

University

11 Qs

Trắc nghiệm kiến thức Java Core - Phần II

Trắc nghiệm kiến thức Java Core - Phần II

University

9 Qs

Java Juggling

Java Juggling

University

10 Qs

Packages in Java

Packages in Java

Assessment

Quiz

Computers

University

Hard

Created by

Jamunadevi T

Used 6+ times

FREE Resource

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When is the object created with new keyword?

At run time

At compile time

Depends on the code

None

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify the corrected definition of a package.

A package is a collection of tools.

A package is a collection of classes.

A package is a collection of classes and interfaces.

A package is a collection of interfaces.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In which of the following is toString() method defined?

java.lang.Object

java.lang.String

java.lang.util

None

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To which of the following does the class string belong to.

java.lang

java.awt

java.string

java.object

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify the modifier which cannot be used for constructor.

Public

Protected

Private

Static

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many times will “Interviewbit” be printed.

Int count = 0;

do{ System.out.println(“Interviewbit”);

count++; }

while(count < 10);

8

9

10

11