explain defference between structure and class with example
Answer Posted / maheshkumar eaga
In structure By default data members are public
In class By default data members are private
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What does it mean when someone says I oop?
What is the fundamental idea of oop?
write a program that takes input in digits and display the result in words from 1 to 1000
Why do we need oop?
What is the oops and benefits of oops programming?
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
Why do we need polymorphism in c#?
What is overriding in oops?
Explain the concepts involved in Object Oriented programming.
How do you achieve runtime polymorphism?
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
How do you use inheritance in unity?
INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?
Why multiple inheritance is not allowed?
What is polymorphism and why is it important?