Answer Posted / ramavtar rajput
abstract classes and methods. It is not allowed to create an
instance of a class that has been defined as abstract. Any
class that contains at least one abstract method must also
be abstract. Methods defined as abstract simply declare the
method's signature they cannot define the implementation.
When inheriting from an abstract class, all methods marked
abstract in the parent's class declaration must be defined
by the child; additionally, these methods must be defined
with the same (or a less restricted) visibility. For
example, if the abstract method is defined as protected, the
function implementation must be defined as either protected
or public, but not private.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is the difference between apache and tomcat?
Explain me soundex() and metaphone()?
What type of language is php?
How many types of array are there in php?
Explain me what is the goto statement useful for?
Is php secure?
What is php trait?
What is in php 7?
Which library is used in php to do various types of image work?
How does php session work?
Is python similar to php?
How can we display information of a variable and readable by a human with php?
Name some of the functions in php.
Which function would you use to merge two arrays in php?
How cookies are transported from browsers to servers?