Post

Dave Smith
Dave Smith@djsmith42·
@EclipseJavaIDE @java No compile error. No runtime error (int wraps to -2^31). Output is "1". Java chooses the more specific version of the method, which is X(int, int), not X(int...)
English
0
1
22
0
Prashant
Prashant@prashanttejura·
@EclipseJavaIDE @java Seems like a kiddo is playing around with ur Eclipse putting unwanted semicolons .
Prashant tweet media
English
0
0
29
0
Steve
Steve@geekpharaoh·
@EclipseJavaIDE @java Someone will hit you very hard for not following ANY of the Java conventions. That’s what.
English
0
0
10
0
🇦🇹Edmund Platzer💻📱😎☕🚀
@EclipseJavaIDE You are too unspecific. Eclipse version, Java jdk vendor, jdk version, jdk patch level, jvm, jvm args, OS name, OS version, CPU vendor, CPU name, motherboard, RAM spec. How do you start the Prog. Left or right mouse button or touch. With all come back, I've more questions. ;-)
English
1
0
3
0
Gabriel Kwaye
Gabriel Kwaye@gabykant·
@EclipseJavaIDE No error! This code will run (compilation and execution) without any output error. The first method is choosen. Printed result *l*
English
0
0
1
0
Tristan Mahinay
Tristan Mahinay@rjtmahinay·
@EclipseJavaIDE 1, it will first match to the overloaded method with 2 parameter rather than with the var-args parameter
English
1
0
0
0
Paylaş