Hi,
I have written a class called Title, which contains information about films, including the title, lead actors, director etc. This information is stored in a text file, which is then called from the class Title.
To save me from having to rewrite this information in the second class, called Video, I want to be able to call the information in the Title class in the toString method within the Video class and print it out along with the additional information contained within the Video class.
The problem is that at the moment, the toString method within the Video class is only returning 'null' in place of the information from the Title class.
Any ideas or help would be appreciated.
My code so far is as follows,
1. The Video Class,
2. The Title class,
Also, the toString method in the Title class works fine by itself, I'm just having a problem trying to call this information from the Video class.
Any ideas how to achieve this?