Exercise ArrayList - Movie
Exercise ArrayList - Movie
P.S. You should not change or add anything on the definition of Movie ADT. The definition of the ADT
is enough and perfect for you to work on the application class. Good luck and mind your time!
Table 1: movieList.txt
Lagi-Lagi Senario;2001
Sembilu 2;1995
Adik Manja;1980
KL Gangster;2011
Munafik 2;2018
Pemburu Bayang;1993
The Journey;2014
Maria Mariana;1996
Polis EVO;2015
Abang Long Fadil 2;2017
Table 4: MovieApp.java
/***==================================================
Application Class
==================================================***/
import java.util.Scanner;
import java.io.*;
/***
You are to write the solutions for Question 2(a), 2(b), 2(c),
2(d), 2(e) and 2(f) here!
***/
/***==================================================
Definition of Movie Class
==================================================***/
public class Movie{
private String title;
private int year;