LiamTheBox@lemmy.world to Greentext@sh.itjust.works · 11 days agoAnon tries programming in Javalemmy.worldexternal-linkmessage-square248fedilinkarrow-up1871arrow-down135
arrow-up1836arrow-down1external-linkAnon tries programming in Javalemmy.worldLiamTheBox@lemmy.world to Greentext@sh.itjust.works · 11 days agomessage-square248fedilink
minus-squareمهما طال الليل@lemm.eelinkfedilinkarrow-up1arrow-down2·edit-29 days agoIt is pretty late for me. Sorry. And thank you for your patience. Repeating it three times helped. It will be interesting to find out if the resulting binary is the same or not and what’s possible once it matured.
minus-squareJackbyDev@programming.devlinkfedilinkEnglisharrow-up3·10 days agoYes, because it’s genuinely not a static method. It’s an instance method. Also the signature is different. It’s not some sort of mere syntactic trick that translates void main() to public static void main(String[] args).
It is pretty late for me. Sorry. And thank you for your patience. Repeating it three times helped.
It will be interesting to find out if the resulting binary is the same or not and what’s possible once it matured.
Yes, because it’s genuinely not a static method. It’s an instance method. Also the signature is different. It’s not some sort of mere syntactic trick that translates
void main()
topublic static void main(String[] args)
.