adplus-dvertising
frame-decoration

Question

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

a.

Encapsulation

b.

Inheritance

c.

Objects

d.

Instances

Posted under PHP

Answer: (b).Inheritance

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

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

Similar Questions

Discover Related MCQs

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?

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?