adplus-dvertising
frame-decoration

Question

When function have same prototype in base class as well as in derived class function is called

a.

Overloading function

b.

Overriding function

c.

Chained function

d.

All of them

Posted under Object Oriented PHP PHP

Answer: (b).Overriding function

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. When function have same prototype in base class as well as in derived class function is called

Similar Questions

Discover Related MCQs

Q. Which version of PHP support get_declared_classes ( ) function?

Q. TextUtils and TextUtils_WordCounter classes are those which belongs to

Q. Methods are also known as

Q. Defining a class in terms of another class and then specifying only things that you want to be different from that class, is called as

Q. Serialize ( ) function takes a value of any type and then

Q. For finding data in object is valid and consistent across instance which function is used?

Q. Ability to recover a class name, member function names, and member variable names from an instance, is called as

Q. After unserialize ( ) function which function is called

Q. Functionality of Destructors are offered in

Q. For changing string again into original value which function is used

Q. __sleep ( ) function is called when you

Q. An individual instance in OOP is called as

Q. Extends clause is used for

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?