Arraylist Program In java - 95896

Solution Posted by
Tufail

Tufail

Rating : No Rating
Solution Detail
Price: $15.00
  • From: Computer Science, Java
  • Posted on: Wed 16 Mar, 2016
  • Request id: None
  • Purchased: 0 time(s)
  • Average Rating: No rating
Request Description
Two Arraylist One is players Arraylist and second is battingAverages arraylist. 1) Fill data in the Arraylist 2) Calculate and output the team average of battingAverages arraylist 3) Add the name “Horace” and the batting average .232 to the appropriate ArrayLists. (Use the appropriate ArrayList method.) Re-output the names and batting averages. Also recalculate the team average. 4) Sort the ArrayList by name. 5) Access each element pair in the HashTable and output the name and batting average to the console.
Solution Description
Attachments
Arraylist.zip
Arraylist.zip