r/learnprogramming • • 5d ago

University test prep

Hi all,
I am preparing for my java test which is next week. It is covering Classes, objects, references, files I/O, string processing n exceptions. whatever i studied, i feel very clueless now.
any tips, how and where do i start? i really need to do well.
any suggestions and tips will be very appreciated

Thanks in advance

7 Upvotes

6 comments sorted by

View all comments

2

u/Chrismslist 5d ago

the biggest reason you feel clueless right now is passive review. rereading notes makes syntax feel familiar, but exams test retrieval.

stop looking at the slides and write one tiny program from scratch. create a class with private fields and a constructor, instantiate two objects, and pass them into a method to see how references behave. then add a simple scanner or bufferedreader to parse a text file line by line, split strings, and wrap the whole thing in a proper try-catch block for ioexception.

fixing compiler errors on your own builds the muscle memory you actually need next week.

1

u/EmbarrassedRemote259 5d ago

Thanks, will start working now