Java Quiz 1

Java Quiz 1

University

10 Qs

quiz-placeholder

Similar activities

CS100||MsWord

CS100||MsWord

University

10 Qs

Types of Mass Media

Types of Mass Media

10th Grade - Professional Development

11 Qs

Binary Tree

Binary Tree

University

14 Qs

Linked List 2

Linked List 2

University

10 Qs

Website Usability and UX

Website Usability and UX

University

10 Qs

Python Week 1 & 2

Python Week 1 & 2

University

10 Qs

Hands-on Modul 3

Hands-on Modul 3

University

10 Qs

Visual Basic 2010

Visual Basic 2010

8th Grade - University

10 Qs

Java Quiz 1

Java Quiz 1

Assessment

Quiz

Computers

University

Practice Problem

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?