OOP with Java

OOP with Java

University

12 Qs

quiz-placeholder

Similar activities

CHAPTER 1: COMPUTER SECURITY REVIEW

CHAPTER 1: COMPUTER SECURITY REVIEW

University

10 Qs

Python Quiz For Starters

Python Quiz For Starters

3rd Grade - Professional Development

17 Qs

Basic on Operating System

Basic on Operating System

University

10 Qs

Enterprise development - JEE

Enterprise development - JEE

University

10 Qs

MIDTERM EXAM - IT APP

MIDTERM EXAM - IT APP

University

17 Qs

Evaluasi Pertemuan 12 DRPL TI-3B

Evaluasi Pertemuan 12 DRPL TI-3B

University

15 Qs

Pythonintro

Pythonintro

University

15 Qs

Kuis Dadakan ;)

Kuis Dadakan ;)

10th Grade - University

15 Qs

OOP with Java

OOP with Java

Assessment

Quiz

Computers

University

Hard

Created by

RR14CS001 VEERASINGH

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

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

12 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

2 mins • 10 pts

What is the use of final keyword in Java?

When a class is made final, a subclass of it can not be created.

When a method is final, it can not be overridden.

When a variable is final, it can be assigned value only once.

All of the above

2.

MULTIPLE SELECT QUESTION

2 mins • 10 pts

Size of int in Java is

8 bits

16 bits

32 bits

48 bits

3.

MULTIPLE SELECT QUESTION

2 mins • 10 pts

When is the object created with new keyword?

At compile time

At run time

Depends on the code

At execution time

4.

MULTIPLE CHOICE QUESTION

2 mins • 10 pts

Identify the corrected definition of a package.

A package is a collection of editing tools

A package is a collection of classes

A package is a collection of classes and interfaces

A package is a collection of interfaces

5.

MULTIPLE CHOICE QUESTION

1 min • 10 pts

Java is a platform independent programming language

True

False

6.

MULTIPLE CHOICE QUESTION

2 mins • 10 pts

What is a correct difference between print() and println()?

print() prints the output and move to new line, println() prints the output and stays on same line

print() prints the output and stays on same line, println() prints the output and move to new line

None of the given

Both of the given

7.

MULTIPLE CHOICE QUESTION

2 mins • 10 pts

What is meaning * in import statement?

To import selected classes from a package

To import all classes from a package

To import all classes from a package and multiply it

None of the given

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?