a) Aggregation
b) Polymorphism
c) Inheritance
d) All of the mentioned
Answer: b
Explanation: In polymorphism instances of each subclass will be free to respond to messages by calling their own version of the method.
Related Posts
Which one of the following PHP function is used to determine a file’s last access time?
The filesize() function returns the file size in ___________
Which one of the following functions finds the last occurrence of a string, returning its numerical position?
Which one of the following functions can be used to concatenate array elements to form a single delimited string?
What will be the output of the following PHP code?
<?php
echo str_pad(“Salad”, 5).” is good.”;
?>What will be the output of the following PHP code?
<?php
$title = “O’malley wins the heavyweight championship!”;
echo ucwords($title);
?>Which one of the following functions will convert a string to all uppercase?
Join The Discussion