Post

🌒 Eclipse IDE
🌒 Eclipse IDE@EclipseJavaIDE·
Let's take a look at your Java overloading skills. Is it 1? 0? Compile error? Runtime error? (cheaters suck!)
🌒 Eclipse IDE tweet media
English
28
14
57
0
🌒 Eclipse IDE
🌒 Eclipse IDE@EclipseJavaIDE·
"1 because call get to the most specific match" said @KoreMandar and he's completely right!
English
1
1
9
0
Holger Voormann - @howlger@mastodon.social
@EclipseJavaIDE @KoreMandar Eclipse knows the Java Language Specification ("There may be more than one such method, in which case the most specific one is chosen." #jls-15.12.2" target="_blank" rel="nofollow noopener">docs.oracle.com/javase/specs/j…) and gives guidance:
Holger Voormann - @howlger@mastodon.social tweet media
English
0
0
4
0
Paylaş