what are the disadvantages of C++?
Answer Posted / linto john
one of the main reason is that it does not support encapsulation, as all the code should be within the class, but main function from where the execution starts is outside the class.
and one more reason is that it does not support garbage collection
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
What is the difference between a constructor and a destructor?
2. Give the different notations for the class.\
Explain virtual inheritance?
Is react oop?
What is constructor in oop?
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 diamond problem in inheritance?
Why do we use oops?
Why multiple inheritance is not possible?
What are the 4 main oop principles?
Why oops is important?
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
What is use of overloading?
What polymorphism means?