Question: Q3) (15 points) 2. Write a JAVA program that reads an array from input file and invokes two different methods Sort and Max that sorts

 Q3) (15 points) 2. Write a JAVA program that reads an

Q3) (15 points) 2. Write a JAVA program that reads an array from input file and invokes two different methods Sort and Max that sorts the elements of the array and finds the Max element and writes out the resulted array in to output file. Use two interfaces for methods and throw Exception Handling For Out Of Bound index for the array. b. Write a program to create a room class, the attributes of this class is roomno, roomtype, roomarea and ACmachine. In this class the member functions are setdata and displaydata

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!