
2-OOPs concepts in java
Authored by ANIL KUMAR
English
Professional Development
Used 7+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?