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 between class and structure?

Answer Posted / konankiswetha

class is a slow access because of heap memory. But struct
is a faster in access because of stack memory.



values are initialize at the time of declaration in class
but not in struct.

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Templates mean

2057


write string class as your own class in java without using any built-in function

2483


What are the 4 main oop principles?

1213


What does enum stand for?

1102


How Do you Code Composition and Aggregation in C++ ?

25407


Why do we use polymorphism in oops?

1019


What is encapsulation with real life example?

1023


What is polymorphism and why is it important?

1024


What is difference between multiple inheritance and multilevel inheritance?

1132


What is abstract class in oop?

987


What is the difference between procedural programming and oops?

1114


just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.

6914


What is polymorphism and types?

1080


What are the benefits of oop?

1230


What is encapsulation selenium?

988