If i am understanding you correctly, you are referring DirectorySize
as Sub Class DirectoryProcessor
as Super class, if you want to call the super class constructor DirectoryProcessor(File startingDirectory, FileFilter fileFilter)
inside the constructor of DirectorySize
, Then you will have to add super(startingDirectory, fileFilter)
as the first statement.
With
super(parameter list)
, the superclass constructor with a matching parameter list is called.