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 / anusha

class aclass <-superclass

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use inheritance?

1058


What is overloading in oops?

1091


what is the sylabus for priliminaries?

2116


What is static modifier?

1124


what is graphics

2402


Why is oop useful?

1031


What is oops in simple words?

1032


What is difference between oop and pop?

1102


What is the difference between a constructor and a destructor?

1171


What is use of overloading?

1078


What is the difference between inheritance and polymorphism?

1045


What is class and object with example?

1057


What is the purpose of polymorphism?

1083


What is the main purpose of inheritance law?

1146


2. Give the different notations for the class.\

2079