Hi Adam,
It's a bit of a grey area, just how close to the real exam can we get when we discuss it. In this case it felt just a little bit too close. I admit it's a subjective call, so I hope you'll understand that I edited your post.
I think that if you want to ask a more general question about how you might accomplish a specific task in
Java it would be okay.
Thanks,
Bert