Reported in a candidate post, Oct 2025
Debug two buggy Java snippets: file handling and Singleton
Filed under Mastercard
The question
Debug two pieces of buggy Java code, one dealing with file handling and one with the Singleton pattern.
No write-up yet. Related questions below have one.
Related Mastercard questions
Collected from public candidate posts and coding forums. Updated Nov 2026.