Java and OOP Multiple Choice Questions

Java and OOP Multiple Choice Questions

University

30 Qs

quiz-placeholder

Similar activities

C Quiz 1

C Quiz 1

University

25 Qs

Java Unit2 MCQ Test

Java Unit2 MCQ Test

University

30 Qs

JAVA - EXCEPTION & MULTITHREADING

JAVA - EXCEPTION & MULTITHREADING

University

25 Qs

java collections

java collections

University

31 Qs

Java Review

Java Review

9th Grade - University

25 Qs

C++ Quiz

C++ Quiz

University

25 Qs

Post Test 2A dan 2B

Post Test 2A dan 2B

University

25 Qs

Java Quiz

Java Quiz

University

25 Qs

Java and OOP Multiple Choice Questions

Java and OOP Multiple Choice Questions

Assessment

Quiz

Computers

University

Hard

Created by

Ramyakrishna kadiyala

Used 1+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a feature of OOP?

Modularity

Code reusability

Global variables

Inheritance

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which concept of OOP is aimed at restricting access to data?

Polymorphism

Abstraction

Inheritance

Encapsulation

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which concept allows objects to take multiple forms?

Inheritance

Polymorphism

Abstraction

Encapsulation

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following best defines class?

Blueprint of object

Real-time entity

Collection of variables

Collection of functions

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The ability to derive new classes from existing ones is called?

Polymorphism

Inheritance

Abstraction

Overloading

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

OOP helps in making the code more...

Procedural

Complex

Structured

Maintainable

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which access modifier makes members visible within the same package only?

public

private

protected

default

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?