Question

If a program crashes with a "NullPointerException" (or similar null reference error), what is the most likely cause?

A Division by zero.
B Attempting to access a member or method of an object that is currently null.
C Infinite loop.
D Stack overflow.
E Incorrect array indexing.
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)