Day 2 Wipro

Day 2 Wipro

University

20 Qs

quiz-placeholder

Similar activities

Cuestionario de Sintaxis en Java

Cuestionario de Sintaxis en Java

University

20 Qs

CUDA Programming Quiz

CUDA Programming Quiz

University

20 Qs

Are you Ready???

Are you Ready???

University

15 Qs

OOP-Quiz-5

OOP-Quiz-5

University

20 Qs

Python_Quiz1

Python_Quiz1

University

17 Qs

Java basic

Java basic

University

21 Qs

Understanding Java Encapsulation

Understanding Java Encapsulation

University

20 Qs

SESSIONAL EXAM(Programmin Lab)

SESSIONAL EXAM(Programmin Lab)

University

15 Qs

Day 2 Wipro

Day 2 Wipro

Assessment

Quiz

Engineering

University

Medium

Created by

Ms.Yatri Davda

Used 1+ times

FREE Resource

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

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?