First of all I'm sorry for the wordiness of the question, I am unsure how to ask, but I can explain it better.
I have a parent class and 2 child classes, only one is relavent for the example
public abstract class AudioFile{ //parent
blah blah blah
} //end class AudioFile
public class MP3File extends AudioFile{
private int bitRate; //unique to MP3File class
} //end class MP3File
Now say I have an MP3File object but its referencing AudioFile
public class Driver{
... // pretend main exists
AudioFile file = new MP3File();
file.setBitRate(100); //pretend method exists
edit(file);
private void edit(AudioFile audio)
{
//how would I edit the bit rate?
} //end method edit
} //end class Driver