Find which of the following uses encapsulation?
(c).class student{int a; public: void disp(){ cout<<a;} };
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
(c).class student{int a; public: void disp(){ cout<<a;} };
need an explanation for this answer? contact us directly to get an explanation for this answer