//------------// Introduction to Programming Using Java: An Object-Oriented Approach//	Arnow/Weiss//------------//------------// Chapter 8 / Section 8.2.2 / Page 267//	An illuistration of the while loop//------------ //------------// Notes//	- This class corresponds to a code fragment.//	- This class requires the Employee class which contains a //		readIn method. It also requires a file named //		'employees.dat'.//	- !!!! Differences from the code in the text !!!!//		The code//			System.out.print("Employee " + e.getName() + //				" has earned " + e.calcPay(hours));//		in the text has been replaced by//			System.out.print("Employee " + e.getName() + //				" has earned " + e.calcPay(hours));//		to improve the output.//------------import java.io.*;class Chapter8_2_2_1 {	public static void main(String arg[]) throws IOException {		File file = new File("employees.dat");		FileInputStream	fis = new FileInputStream(file);		InputStreamReader isr = new InputStreamReader(fis);		BufferedReader br = new BufferedReader(isr);		Employee e = Employee.readIn(br);		while (e != null) {			int hours = Integer.parseInt(br.readLine());			System.out.println("Employee " + e.getName() + 				" has earned " + e.calcPay(hours));			e = Employee.readIn(br);		}	}}