c++ provides classes...and classes do what we want but why
then strcut are used...if we say data hiding... it is also
provided by c++ in structs then why to prefer clasess
Answer / rasagna
resuability is the excellent concept in cpp. we can reuse
the functions many times.but in c we have not that type of
facility. classes gives redability and data security
(because of access specifier)to program. oop(object
oriented program) gives class as high in cpp.because of
inheritance,polymorphism,data independence.encapsulation.
At last what i want to say is
c + extra reatures = c++.
c + class = c++
Is This Answer Correct ? | 7 Yes | 0 No |
What is polymorphism in oops with example?
Do you know about multiple inheritance?
inheritence with example
Which is the parameter that is added to every non-static member function when it is called?
How would you stop a class from class from being derived or inherited.
what is the application of oops?
OOP'S advantages of inheritance include:
How can we use the preprocessor #if and #elseif.
What is encapsulation with example?
What is data binding in oops?
How compiler selects(internally) required overridden function in inheritance?
2 Answers CSC, Infinite Computer Solutions,
what is oppes