the problem im sure is actually quite simple but i think im appraching it the wrong way.
whenever i compile and run this class it terminated straight away. ie. "Process exit" is displayed.
it creates the object i think cuz there are no erros in my film object code.
basically all i want to know is how do i get the readFilmDetails method to be displayed. Why does my program not ask the user to input the data.
private String filmName;
private int filmRating;
private double filmMinutes;
private int age;
public static void main(String args)
Film film = new Film ;
public void readFilmDetails()
System.out.println("Film Name: ");
filmName = uuInOut.ReadString();
System.out.println("Enter film rating: ");
filmRating = uuInOut.ReadInt();
System.out.println("Enter film minutes");
filmMinutes = uuInOut.ReadDouble();
public void readAge()
System.out.println("Enter Age: ");
age = uuInOut.ReadInt();