Topic 2.4 Video 2

Topic 2.4 Video 2

11th Grade

5 Qs

quiz-placeholder

Similar activities

Moringa JavaScript Arrays

Moringa JavaScript Arrays

5th Grade - Professional Development

10 Qs

Pemrograman OOP 2

Pemrograman OOP 2

11th Grade

9 Qs

Java

Java

11th Grade

10 Qs

What Do You Remember About Inheritance

What Do You Remember About Inheritance

9th - 12th Grade

7 Qs

CodeHS 4.15 Interfaces

CodeHS 4.15 Interfaces

9th - 12th Grade

10 Qs

Topic 2.4 Video 1

Topic 2.4 Video 1

11th Grade

5 Qs

OOP 4 Polymorphism

OOP 4 Polymorphism

11th Grade

10 Qs

Exploring Object Oriented Programming Concepts

Exploring Object Oriented Programming Concepts

11th Grade

10 Qs

Topic 2.4 Video 2

Topic 2.4 Video 2

Assessment

Quiz

Computers

11th Grade

Medium

Created by

Myra Deister

Used 1+ times

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

I will be checking AP Classroom to verify that you have viewed the video.

How many methods will be written for the frog class?

1

2

3

4

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is method overloading?

Method overloading is a feature in object-oriented programming where multiple methods can have different names but the same parameters.

Method overloading is a feature in procedural programming where multiple methods can have the same name but different method signatures.

Method overloading is a feature in object-oriented programming where multiple methods can have the same name but different method signatures.

Method overloading is a feature in object-oriented programming where multiple methods can have the same name and same method signatures.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these can be overloaded?

methods

constructors

both methods and constructors

neither methods or constructors

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

If a variable is declared as private , then it can be used in _______.

Any class of any package.

Any class of same package.

Only in the same class.

Only subclass in that package.

5.

MULTIPLE SELECT QUESTION

1 min • 1 pt

In what ways do method signatures need to be different for overloading to work? Check all that apply.

The parameter types must be different

The parameter names must be different

The order of different typed parameters must be different

The number of parameters need for be different

The method names need to be different