What is the difference between class and structure?
Answer Posted / mohan
By default the members of struct are public.
By default the members of class are priavte.
When an object is created to a class, constructor will be
called automatically.
But not in struct (if structure having member function with
structure name)
| Is This Answer Correct ? | 15 Yes | 0 No |
Post New Answer View All Answers
What is object in oops?
What is the highest level of cohesion?
Which is better struts or spring?
write string class as your own class in java without using any built-in function
How do you define social class?
What is a class in oop?
What is debug class?what is trace class? What differences are between them? With examples.
I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...
Why is polymorphism important in oop?
what are the ways in which a constructors can be called?
What are the data types in oop?
What is the point of oop?
What is the types of inheritance?
How to call a non virtual function in the derived class by using base class pointer
What is and I oop mean?