Scenario Based Questions In Java