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.
- Download free practice test for CIW Master CIW Enterprise Developer exam.
- Best exam simulation SUN scbcd download free trial.
- Pass SCDJWS in first attampt.
- Click here to download scjp test study guide and practice question.
- Download practice question and study guide for scjp-5-0 for exam.
- Best exam simulation SUN scmad download free trial.
- Download free practice test for SUN SCWCD exam.
- Pass SUN CX310-055 - Java 5.0
- Download practice question and study guide for CX310-056 for exam.
- Pass SCJP 6.0 in first attampt.
- Get certified in first attempt download CX310-066 - SCJP Upgrade simulation.