if else java program questions