A covariant return allows a class to override the return type of a method it inherits from a super class. Using the covariant return feature, a method in a subclass may return an object whose type is a subclass of the type returned by the method with the same signature in the superclass. This means that the return type of the subclass’ method should be the subclass of the return type of the superclass’ method.
- Pass CIW master-ciw-enterprise-developer - Master CIW Enterprise Developer
- Become SUN SCBCD certified.
- Get certified in first attempt download scdjws - SCDJWS simulation.
- Pass SCJP in first attampt.
- Best exam simulation SUN scjp-5-0 download free trial.
- Click here to get free scmad SCMAD exam practice questions.
- Best exam simulation SUN scwcd download free trial.
- Get certified in first attempt download CX310-055 - Java 5.0 simulation.
- Get certified in first attempt download CX310-056 - SCJP 5.0 Java Upgrade simulation.
- Click here to download CX310-065 test study guide and practice question.
- Pass SCJP Upgrade in first attampt.
Like this article? Share it with others
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.