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

class aclass : public superclass

Is This Answer Correct ?    33 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you explain polymorphism?

1071


What is polymorphism and types?

1097


What is inheritance and how many types of inheritance?

1097


What is encapsulation with real life example?

1032


State what is encapsulation and friend function?

1256


What makes a language oop?

1052


write a program to find 2^n+1 ?

2062


Why is abstraction needed?

1032


What is oops and why we use oops?

1037


What is the real life example of polymorphism?

1164


What is difference between abstraction and encapsulation?

1072


what are the different types of qualifier in java?

2269


What is a class oop?

1002


what is different between oops and c++

2535


What is meant by oops concept?

1036