Home Answers Viewqa PHP How to Declare Abstract Class in PHP ?

 
 


Hiteshkumar
How to Declare Abstract Class in PHP ?
1 Answer(s)      2 years and a month ago
Posted in : PHP

hi,

I am a PHP Beginners. As i am trying to make an application where i trying to declare the abstract class of PHP. Please any one explain me how to declare abstract class in PHP program with example. Please feel free to suggestion.............

Thanks,

View Answers

April 7, 2011 at 10:31 AM


Hi,

The Abstract class concept is that we need to extend this class by its descendant class(es). If a class contains abstract method then the class must be declared as abstract. To Declare the abstract class in PHP please visit the below link.

http://www.roseindia.net/tutorial/php/phpoop/php-abstract-class.html

Thanks,









Related Pages:

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.