Question: 1import java.util.*. 2 import java.io- 4 E public class Lab06 /* Declare instance fields here / public static void main (String[) args) Lab06 lab new
1import java.util.*. 2 import java.io- 4 E public class Lab06 /* Declare instance fields here / public static void main (String[) args) Lab06 lab new Lab06 ( ) lab.input (): 10 12 lab.output ( /* Write the input method here / public void input ) 15 try lreading data fron file Scanner reader new Scanner (new File ("autos.dat") while (reader.hasNextLine ()) catch (IOException e) System.out println (e): General Output Configuration:
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
