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
Why laravel is best php framework?
Explain setcookie() function in php?
Is php front end?
Tell me what's the difference between include and require?
Can you explain, when to use if-else if-else over switch statements?
What types of loops exist in php?
Define object-oriented methodology?
Explain about getters and setters in php?
What does odbc do in context with php?
What is the use of mysql_fetch_array in php?
How does php serialize work?
Which of the delimiter is ASP style?
What is different between software and app
What is php and why it is used?
How to access a specific character in a string?