(Total 39 questions) (Time spent 0:0)
1. 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?
View Test Answer