Switch to full style
:read: Start PHP with us. Includes topics to help you in php
Post a reply

how to Define abstract class in php

Sun Oct 26, 2008 11:24 pm

example :
Code:
<?php

   
abstract class Staff
   
{
      abstract function 
hire();
      abstract function 
fire();
      abstract function 
promote();
      abstract function 
demote();
   }

?>




Post a reply
  Related Posts  to : how to Define abstract class in php
 java abstract class,concrete class and interface     -  
 Define class helper class to check the method existance     -  
 Define class inside another class C++     -  
 What is an Abstract Class? !!!     -  
 why cant instantiate an abstract class     -  
 make abstract class     -  
 The difference between an Interface and an Abstract class     -  
 define final class     -  
 define a Class with a Method     -  
 Define your own exception class     -  

Topic Tags

PHP OOP