
Day 2 Wipro
Authored by Ms.Yatri Davda
Engineering
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following concepts means "wrapping up of data and methods"?
Inheritance
Encapsulation
Abstraction
Polymorphism
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which concept of OOP is used for code reusability?
Inheritance
Encapsulation
Polymorphism
Abstraction
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following allows runtime method binding?
Static polymorphism
Function overloading
Dynamic polymorphism
Method hiding
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which keyword is used to call the constructor of a superclass?
super
this
extends
base
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of these cannot be used to achieve polymorphism?
Method overloading
Method overriding
Constructor overloading
Variable hiding
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which modifier makes a variable accessible in subclasses only?
private
protected
public
default
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which keyword is used to prevent method overriding?
static
private
final
abstract
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?