File classes

Report a typo

Below you can see a class hierarchy of files:

class File { /* fields and methods */ }

class ImageFile extends File { /* fields and methods */ }

class TextFile extends File { /* fields and methods */ }

and three objects:

File file = new File();

File img = new ImageFile();

File txt = new TextFile();

Select all true statements.

Select one or more options from the list
___

Create a free account to access the full topic