Question: / / Declares an array that holds different boat types import java.util.Scanner; public class DebugNine 3 { public static void main ( String [ ]
Declares an array that holds different boat types import java.util.Scanner; public class DebugNine public static void mainString args DebugBoat ref new DebugBoat; Scanner input new ScannerSystemin; int x; int option; DebugRowboat rowboat; DebugOceanLiner liner; for x ; x ref.length; x System.out.printlnDo you want to add a rowboat or;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
