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 difference b/w Structure & Class?

Answer Posted / mohan chaudhari

1.In structure there is no data encapsulation.
but in class, there is data encapsulation.
2.Data member in structure are not private .
In class they are private.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?

1309


What are the two forms of #include directive?

1171


What are the 5 data types?

1145


Write a c program to build a heap method using Pointer to function and pointer to structure ?

4699


Find MAXIMUM of three distinct integers using a single C statement

1071


Why is this loop always executing once?

1064


Define and explain about ! Operator?

1004


What is echo in c programming?

1035


Why are some ANSI/ISO Standard library routines showing up as undefined, even though I've got an ANSI compiler?

1138


What is %lu in c?

1264


Why do we use c for the speed of light?

1215


What do you know about the use of bit field?

1051


How many types of functions are there in c?

1150


How can you invoke another program from within a C program?

1079


What header files do I need in order to define the standard library functions I use?

1063