Question

How is data hiding primarily achieved in OOP?

A By making all class members public.
B By using only static methods.
C By declaring member variables as `private` and providing `public` getter/setter methods.
D By avoiding the use of classes altogether.
E By storing data in global variables.
Practice Next

Hey! Ask a query

🎓
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
  • 200 Questions with Detailed Solutions
  • Section-wise Coverage (GA, English, Quant & Reasoning)