Question: Java Define a method printAirportInfo() that takes two string parameters and outputs as follows, ending with a newline. The method should not return any value.
Java
Define a method printAirportInfo() that takes two string parameters and outputs as follows, ending with a newline. The method should not return any value. Ex: If the input is JNB Johannesburg, then the output is: JNB is Johannesburg's airport code.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
