Special offer for new customers: 5% OFF your first order! Use coupon: GWRITERSclose

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.
Powered by WordPress | Designed by: Premium WordPress Themes | Thanks to Themes Gallery, Bromoney and Wordpress Themes