IBM interview question

Java OOPS concepts Basic Java programms outputs based on certain inputs