icon

UseTopicwritingscode to get 5% OFF on your first order!

Java Program

Write a Java program to read data on movies from a Comma Separated (CSV) text file. Each line in the file contains data for one movie. The data format is as follows: Title(String -length 20), Genre(String-10), Year(String-4),Runtime(Double)

Read the file and store the movies in a List Collection.

Write a comparator to sort the movies by Year and Title (in that order). Using this comparator, SORT the List and output the Movie data on the Console. Sorting is ascending sort.

You can leave a response, or trackback from your own site.

Leave a Reply

Powered by WordPress | Designed by: Premium WordPress Themes | Thanks to Themes Gallery, Bromoney and Wordpress Themes