BMC Software interview question

Java, Oops, and Basic logic questions.