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
can we make game by using c
What is the purpose of polymorphism?
Can main method override?
What is the difference between abstraction and polymorphism?
What is encapsulation with example?
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.
Why we use classes in oop?
Why do pointers exist?
What are the benefits of oop?
What is polymorphism used for?
What do you mean by abstraction?
What are the two different types of polymorphism?
What is encapsulation with real life example?
given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy
What is the purpose of enum?