编程辅导 C C++ Java Python MIPS Processing 网络家教 在线辅导

编程家教 远程写代码 Debug 讲解答疑 课后答疑 不是中介,本人直接答疑

微信: ittutor QQ: 14061936 Email: ittutor@qq.com

导航

  COSC344 Lab Page 1 Week 9 

COSC 344 Lab for Week 9  Java Language   Overview  The purpose of this lab is to become familiar with using Java and SQL.  It will help prepare you to do the third assignment.  Task  Use TestLogin.java as a basis.  Change its name to make the program for this lab.    Your program should retrieve the first and last names and salary of all employees.  You should create a Java class to contain data from each row returned by Oracle.  Create an appropriate constructor, accessor methods, a comparison method, and a print method.    In your main program, use an ArrayList to hold the rows (now a Java class).  Sort the rows in the ArrayList in order of increasing salary.    Finally, print the sorted ArrayList. 

相关推荐