B3-8.2

B3-8.2

1st Grade

13 Qs

quiz-placeholder

Similar activities

Makar Sankranti/Pongal/Lohri/Uttrayan

Makar Sankranti/Pongal/Lohri/Uttrayan

KG - 5th Grade

13 Qs

QUIZ CHAPTER 3 & 4

QUIZ CHAPTER 3 & 4

1st Grade

10 Qs

hfst 4 en 5 Pincode

hfst 4 en 5 Pincode

1st - 12th Grade

12 Qs

Mandarin Quiz II/2

Mandarin Quiz II/2

1st Grade

12 Qs

Leaders of The World

Leaders of The World

KG - University

10 Qs

Burger

Burger

1st - 12th Grade

15 Qs

1D - Character Building Review

1D - Character Building Review

1st Grade

10 Qs

What should you do to save water?

What should you do to save water?

1st - 4th Grade

10 Qs

B3-8.2

B3-8.2

Assessment

Quiz

Other

1st Grade

Medium

Created by

Ahmetcan türk

Used 10+ times

FREE Resource

AI

Enhance your content in a minute

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

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Abstraction is:

adding to a problem

filtering out all irrelevant characteristics and unnecessary details

finding characteristics

looking for similarities

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an abstract class?

An abstract class is one without any child classes.

An abstract class is any parent class with more than one child class.

An abstract class is special class which can be a base class.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an abstract method?

An abstract method is any method in an abstract class.

An abstract method is a method which cannot be inherited.

An abstract method is one without a body that is declared with the reserved word abstract.

An abstract method is a method in the child class that overrids a parent method.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Can an abstract class define both abstract methods and non-abstract methods?

No—it must have all one or the other.

No—it must have all abstract methods.

Yes—but the child classes do not inherit the abstract methods.

Yes—the child classes inherit both.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Can an abstract parent class have non-abstract children?

No—an abstract parent must have only abstract children.

No—an abstract parent must have no children at all.

Yes—all children of an abstract parent must be non-abstract.

Yes—an abstract parent can have both abstract and non-abstract children.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Can an abstract method be defined in a non-abstract class?

No—if a class defines an abstract method the class itself must be abstract.

No—only classes are abstract, not methods.

Yes—a method can be declared abstract in any parent as long as the child classes also declare it abstract.

Yes—there is no restriction on where abstract methods can be defined.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is polymorphism in Java?

It is when a single variable is used with several different types of related objects at different places in a program.

It is when a program uses several different types of objects, each with its own variable.

It is when a single parent class has many child classes.

It is when a class has several methods with the same name but different parameter types.

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?