Search Header Logo

PHP Inheritance (3)

Authored by Vija Vagale

Computers

University

Used 1+ times

PHP Inheritance (3)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An abstract class is a class that contains at least one abstract method.

It is ____

False

True

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An abstract method is a method that is declared, but not implemented in the code.

It is ____

False

True

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

______ class ParentClass { 

abstract public function someMethod1(); 

}

Choose a name

empty (don't need anything)

abstract

my

main

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Interfaces can have properties

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Abstract classes can have properties

True

False

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?