Loading...
Engaged employer
Can overridden methods return a different data type?
Anonymous
No, but they can return a subtype of the return data type in the base class.
Check out your Company Bowl for anonymous work chats.
Get actionable career advice tailored to you by joining more bowls.
Stay ahead in opportunities and insider tips by following your dream companies.
Get personalised job recommendations and updates by starting your searches.