anyone kno why java keeps telling me
illegal start of type , in the first if statement
thanks in advance
Airline reference = search(choice, airlineObjects);
if(!choice.equals("QUIT")) {
if(reference == null) {
System.out.println("wrong flight number enter another flight number");
} else {
System.out.println("your file detail is .....");
System.out.println(reference.getFlight() + " " +
reference.getDestination());
}