Method overriding
Posted
by Gandalf StormCrow
on Stack Overflow
See other posts from Stack Overflow
or by Gandalf StormCrow
Published on 2010-03-22T09:35:58Z
Indexed on
2010/03/22
9:41 UTC
Read the original article
Hit count: 422
java
Can you override method in java without using annotations? Because eclipse doesn't support it if you use JRE6, you need to switch back to 5 to use @Override
annotation. Will this method be overriden if I remove the annotation?
@Override public String toString() {
return name + " [" + genre + "]";
}
© Stack Overflow or respective owner