I have a java teacher that really doesn't explain how java works. He basically just writes the programs on the blackboard and then expects us to understand how they work by osmosis. What's the thing to do in a case like this. I have a mid term coming up and we have to write programs on paper without notes and on paper. The test is in a week and i need to learn java really fast whats the best thing to do. I don't feel i understand the topics well enough to write programs now and there really is no way out of it. Whats the best thing to do? Buy a Learn Java in 30 days book or just write a lot of programs? or anything else that you guys could suggest.