adplus-dvertising
frame-decoration

Question

Extends clause is used for

a.

Inheriting a class from another class

b.

Function extension

c.

Creating constructors

d.

None of them

Posted under PHP

Answer: (a).Inheriting a class from another class

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Extends clause is used for

Similar Questions

Discover Related MCQs

Q. Functionality of Constructors are offered in

Q. How many functions are used by PHP that can encode and decode values into string?

Q. PHP offers no support for

Q. An abstract class is one that cannot be instantiated but

Q. A process that converts a string of bytes in such a way that you can produce original data again, is known as

Q. Get_class ( ) function returns name of class from where

Q. Which function returns TRUE if string argument is name of a class?

Q. Protected members of a class is accessible to class in which

Q. Derived class is also known as

Q. Constructor function must have a same name as name of a

Q. If everything is fine in object selftest ( ) function returns what?

Q. PHP supports

Q. Namespaces defines a area in which an identifier is

Q. To ask objects about their classes, and ask classes about their parents without searching in code, is example of

Q. Parent class is a

Q. Pear coding style recommends that class name begins with

Q. Destruct ( ) function is used to call a

Q. PHP does not support multiple inheritance but it supports

Q. The practice of separating the user from the true inner workings of an application through well-known interfaces is known as _________

Q. Which of the following term originates from the Greek language that means “having multiple forms,” defines OOP’s ability to redefine, a class’s characteristics?