Question

Which of the following statements about private members in Java is correct?

A They can be accessed directly from any class
B They can be accessed only within the same class
C They can be accessed by all subclasses
D They are accessible within the same package only
E They are always inherited by subclasses
Practice Next

Relevant for Exams:

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)