Topic 2.4 Video 2

Topic 2.4 Video 2

11th Grade

5 Qs

quiz-placeholder

Similar activities

Think Flexibly: A Fun Quiz!

Think Flexibly: A Fun Quiz!

3rd Grade - University

10 Qs

Object-Oriented Languages Quiz

Object-Oriented Languages Quiz

11th Grade

9 Qs

Techno in your hand 1

Techno in your hand 1

4th - 12th Grade

10 Qs

Internet Hardware CodeHS

Internet Hardware CodeHS

9th - 12th Grade

9 Qs

API terms

API terms

11th Grade - University

8 Qs

Java - Writing Methods

Java - Writing Methods

9th - 12th Grade

5 Qs

Review Materi PBO Part 2

Review Materi PBO Part 2

10th - 12th Grade

8 Qs

Latihan Interface

Latihan Interface

9th - 12th 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