Some basic java questions you might encounter during interviews.