posted 15 years ago
Hi Rizvan,
I think you will get better with practice. Since everybody is different, you need to analyze what you are doing (how your mental processes are working) when you are trying to answer a question. I think a common mistake is to try to work through a question too fast, and then having to backtrack due to mistakes. I think the best policy is to take your time reading the question and understanding the code and what you are being asked. If one of the potential answers is a compiler error, or an exception being thrown, pay special attention to which parts of the code might possibly do that.
Good luck with it!
All code in my posts, unless a source is explicitly mentioned, is my own.