1.

Encapsulation is the way to add functions in a user defined structure.(a) True(b) FalseThe question was asked in an interview.The query is from Encapsulation topic in division OOPs Concept & Features of Object Oriented Programming

Answer»

Correct option is (B) False

Easy explanation - False, because we can’t call these STRUCTURES if MEMBER functions are involved, it must be called class. Also, it is not just about adding functions, it’s about BINDING DATA and functions together.



Discussion

No Comment Found

Related InterviewSolutions