Skip to content
Advertisement

Tag: supertype

What is a supertype method?

I have googled couple of times but still can’t understand the supertype method. Can anyone please explain what is this? Answer There is a notion of supertype and subtype in OOPS, In java this kind of relationship is implemented by inheritance i.e. using extends keyword: Any member (fields, methods) declared in super class is to be called supertype. Therefore in

Advertisement