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

What are functions in oop?

1050


Why is static class not inherited?

1102


What is polymorphism explain?

1250


What are the three main types of variables?

1122


Templates mean

2075


What is polymorphism what are the different types of polymorphism?

1008


Are polymorphisms mutations?

1155


What is static in oop?

1076


What is basic concept of oop?

1164


What is destructor in oop?

1026


What is class and object in oops?

1138


What is polymorphism programming?

1121


What is oops with example?

1044


Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.

2460


What is the main purpose of inheritance law?

1197