Sub class inherits all the public and protected methods and the implementation. It also inherits all the default modifier methods and their implementation.