Whiteship
  • Home
  • 인프런 강의
  • Java
  • Spring
  • JPA
  • SDE Tips
Subscribe

covariant return type

A collection of 1 post
covariant return type

Overriding - covariant return type

Java tutorial [http://java.sun.com/docs/books/tutorial/java/IandI/override.html] 에 보시면 다음과 같이 나와있습니다. An instance method in a subclass with the same signature (name, plus the number and the type of its parameters) and return type as an instance method in the superclass overrides the
Dec 31, 2006 — 2 min read
Whiteship © 2022
Powered by Ghost