When an ADT is implemented as a C++ class, which of the following should normally betrue?

Question:
When an ADT is implemented as a C++ class, which of the following should normally betrue?

1.Member functions are private, member variables are public

2.Member functions are public, member variables are private

3.Member functions as well as member variables are private

4.Member functions as well as member variables are public

Posted Date:-2022-07-05 04:38:01


More MCQS Questions and answers

Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!