What is the difference between class and structure?

Answer Posted / chetan

struct initialize with keyword struct
class initialize with keyword class

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is better struts or spring?

624


What are classes oop?

598


What is the point of polymorphism?

590


What is the benefit of oop?

570


Can a destructor be called directly?

607






Why do we use class?

637


State what is encapsulation and friend function?

701


What does <> mean pseudocode?

624


when to use 'mutable' keyword and when to use 'const cast' in c++

1648


How does polymorphism work?

635


What is the real life example of polymorphism?

609


What is oops and its features?

592


What does and I oop mean?

618


Is html an oop?

584


What are the important components of cohesion?

557