Assume that a File is an abstract class and has toFile() method. ImageFile and BinaryFile are concrete classes of the abstract class File.
Also, assume that the method toFile() is implemented in both Binary File and Image File. Which implementation method will be called when a File references an ImageFile object in memory and the toFile method is called?
Options
- Binary File
- Image File
- Both File and Binary Files
- None of the above
CORRECT ANSWER : Image File
Write your comments