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 the correct syntax for inheritance?




1) class aclass : public superclass


2) class aclass inherit superclass


3) class aclass <-superclass

Answer Posted / srikanth

class aclass inherit superclass

Is This Answer Correct ?    9 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use oops?

1010


What are the benefits of polymorphism?

1265


Why do we use polymorphism?

1079


What is variable example?

1033


What is interface in oop?

1118


What is the real time example of encapsulation?

1061


What is coupling in oops?

1142


What is abstraction in oop with example?

1116


Why do we use class in oops?

960


What is oops and its features?

1075


What is the benefit of oop?

1048


Can you inherit a private class?

1101


What is overloading in oops?

1156


What is the full form of oops?

1178


What does and I oop mean in text?

1211