Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is abstrac class? why it is use?

Answer Posted / satyajit das

abstract class is one where the class parameters are not
defined properly and it is controlled by interface like:

interface gggg{
function ss();
}

interface lll{
function mmm();
}

class boat implements gggg,lll{
public function ss();
public function mmm();
}
$dd = new boat();

It is used due to non presence of multiple inheritance in
PHP.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is php programming used for?

942


Tell me what is the use of "ksort" in php?

935


Tell me how the result set of mysql be handled in php?

924


How to create a session? How to set a value in session?

936


Describe the security vulnerability of PHP?

992


What is php's mysqli extension?

967


What is htaccess? Why do we use this and where?

915


How to send a cookie to the browser?

968


When are you supposed to use endif to end the conditional statement?

888


How can we automatically escape incoming data?

914


What is the function to count elements in an array in PHP?

1035


What are the different types of php variables?

1005


Explain converting an object?

956


Tell me what does pear stands for?

1005


How does php serialize work?

966