the writeContents method has got public access and if its overridden by a successor than predecessor method isn't called.