I am new to Java and having trouble with constructors with images and audio. I have tried to use the API library to work it out myself but cannot understand what they are talking about.
My problem is that I am trying to create two instances of the class Plane (redplane and blueplane) Each instance has a different image and audio file attached to it and I am unable to work out how to create a constructor with an image and audio file.
I have viewed many constructors with integers but none with image and audio.
Can anyone help me with the syntax needed in the Plane class and then to and how to call it in the Main class of my applet.