Java Quiz 1

Java Quiz 1

University

10 Qs

quiz-placeholder

Similar activities

PYTHON LOOPING

PYTHON LOOPING

University

10 Qs

Adobe Photoshop

Adobe Photoshop

University

10 Qs

After Effect Intoduction

After Effect Intoduction

10th Grade - University

15 Qs

Google Aptitude Test

Google Aptitude Test

KG - University

10 Qs

VR and AR in multimedia applications

VR and AR in multimedia applications

University

10 Qs

OOP 1 Undiksha

OOP 1 Undiksha

12th Grade - University

13 Qs

Chapter 3 Exploring Linux Filesystems

Chapter 3 Exploring Linux Filesystems

11th Grade - University

10 Qs

Computer Network Fun Review 5 - Data Link Layer

Computer Network Fun Review 5 - Data Link Layer

University

10 Qs

Java Quiz 1

Java Quiz 1

Assessment

Quiz

Computers

University

Easy

Created by

Shobith B

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...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of the following is not an OOPS Principle?

a. Encapsulation

b. Polymorphism

c. Exception

d. Abstraction

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of the following OOP concept binds the code and data together and keeps them secure from the outside world?

a. Polymorphism

b. Inheritance

c. Abstraction

d. Encapsulation

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which component is used to compile, debug and execute java program?

JVM

JDK

JIT

JRE

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is the return type of a method that does not return any value?

int

float

void

double

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which function is used to perform some action when the object is to be destroyed?

finalize()

delete()

main()

none of the mentioned

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the process of defining two or more methods within same class that have same name but different parameters declaration?

Method Overriding
Method Hiding
Method Overloading

none of the mentioned

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which method can be defined only once in a program?

main method

finalize method

static method

private method

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?