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 warning – “cannot modify header information – headers already sent”?
Tell me is it possible to remove the html tags from data?
How to concatenate two strings in php?
How to remove blank spaces from the string?
What is a helper function?
What is the use of curl()?
What is the best way to avoid email sent through php getting into the spam folder?
Why do you need php?
What is the difference between javascript and php?
Explain Traits in PHP?
What is the difference between explode and split?
What is the goto statement useful for?
Which framework is best for php development?
Is php a backend?
Does php 5 support exceptions?