B3-8.1 Polymorphism - Encapsulation

B3-8.1 Polymorphism - Encapsulation

KG

24 Qs

quiz-placeholder

Similar activities

Day 2 RECAP of SHAKE-SMILER + Virtual Workshop

Day 2 RECAP of SHAKE-SMILER + Virtual Workshop

Professional Development

20 Qs

Copa "José Vasconcelos 2020"

Copa "José Vasconcelos 2020"

7th - 9th Grade

20 Qs

Quiz No. 1_EA

Quiz No. 1_EA

University

20 Qs

Microsoft Week 23 PA Wrap Up!

Microsoft Week 23 PA Wrap Up!

University

20 Qs

Kids Kinus 5782

Kids Kinus 5782

5th - 9th Grade

20 Qs

HE_1101: Quiz  #2

HE_1101: Quiz #2

11th Grade

20 Qs

EXAMEN FINAL COMUNICACIÓN - POLI 2

EXAMEN FINAL COMUNICACIÓN - POLI 2

10th Grade

20 Qs

MPMC 8086 system bus architecture(unit 2)

MPMC 8086 system bus architecture(unit 2)

University

20 Qs

B3-8.1 Polymorphism - Encapsulation

B3-8.1 Polymorphism - Encapsulation

Assessment

Quiz

Other

KG

Medium

Created by

Ahmetcan türk

Used 12+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

24 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The wrapping up of data and functions into a single unit is called

overloading
class
object
encapsulation 

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is not one of the 3 major features of Object Oriented Programming(OOP).

Inheritance

Encapsulation

Polymorphism

Variable length arguments arrays (Varargs)

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Can you access as private variable outside of it's class?

Yes

No

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Can you access a public variable outside of it's class?

Yes

No

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which conventional method is used to change a private variable's value during encapsulation?

Setter

Getter

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which conventional method is used to reveal a private variable's value during encapsulation?

Setter

Getter

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Is a constructor required to have the same name as the class?

Yes

No

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?