2-OOPs concepts in java

2-OOPs concepts in java

Professional Development

47 Qs

quiz-placeholder

Similar activities

2022_03

2022_03

Professional Development

51 Qs

19-Packages+Java

19-Packages+Java

Professional Development

44 Qs

Grupa A- 50 pojęć informatycznych

Grupa A- 50 pojęć informatycznych

KG - Professional Development

50 Qs

10.Command line arguments + java

10.Command line arguments + java

Professional Development

48 Qs

26-generate random number + java

26-generate random number + java

Professional Development

43 Qs

8.Using JUNIT 5

8.Using JUNIT 5

Professional Development

44 Qs

Present Simple & Progressive

Present Simple & Progressive

Professional Development

50 Qs

PRESENT TENSE AND PRESENT CONTINUOUS TENSE

PRESENT TENSE AND PRESENT CONTINUOUS TENSE

Professional Development

50 Qs

2-OOPs concepts in java

2-OOPs concepts in java

Assessment

Quiz

English

Professional Development

Medium

Created by

ANIL KUMAR

Used 1+ times

FREE Resource

47 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What are the OOPs concepts in Java?
Variables
Methods
Classes
All of the above

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is OOPs concept with an example?
Object
Method
Variable
Loop

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What are the 6 principles of OOP?
Abstraction, inheritance, polymorphism
Encapsulation, association, composition
Aggregation, abstraction, encapsulation
All of the above

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is abstraction in Java?
The process of hiding necessary details and exposing the rest
The process of exposing necessary details and hiding the rest
The process of reducing an object to its essence
The process of exposing all characteristics of an object

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is polymorphism in Java?
The ability to inherit attributes and methods from another class
The ability to perform different tasks using inherited methods
The ability to create many classes related by inheritance
The ability to override methods in a subclass

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is encapsulation in Java?
The process of storing data members and methods of a class together
The process of making data members and methods accessible to all classes
The process of making data members and methods accessible only to the members of the same class
The process of creating a new instance of a class

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is polymorphism in OOPs?
The concept of accessing objects of different types through the same interface
The concept of bundling data members and methods that operate on that data in a single unit
The concept of exposing necessary details and hiding the rest
The concept of inheriting attributes and methods from another class

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?