I am writing a class for a program where now I need to add a method for coming up with a late fee cost. This is between movie genre's with each genre costing something different but for the one I will use here will be the Drama genre which has the default late fee (That variable is in a different class, also the dayLate variable is in another class as well)
Anyway what I need to do is make it so that the method adds it up like the number of days late multiplied by the fee. Right now I have this but I get a compiler error (Also if it matters, the class with the dayLate variable is not yet finished or compiled)
Anyway here is the Drama class source code
class Drama extends Movie { public Drama() { super(); } public Drama(String rating, int IDnumber, String MovieTitle) { super(rating, IDnumber, MovieTitle); } public double CalcLateFees(Fee * dayLate); } I don't think I did this method correct though.