A ReadOnlyFile class extends File but throws an exception from write.… | SOLID and Design Principles question · AnyPrep