@LiamTheBox@lemmy.world to Greentext@sh.itjust.works • 2 days agoAnon tries programming in Javalemmy.worldimagemessage-square237fedilinkarrow-up1827arrow-down133
arrow-up1794arrow-down1imageAnon tries programming in Javalemmy.world@LiamTheBox@lemmy.world to Greentext@sh.itjust.works • 2 days agomessage-square237fedilink
minus-squareمهما طال الليلlinkfedilink1•edit-24 hours agoIt is pretty late for me. Sorry. And thank you for your patience. Repeating it three times helped. I will be interesting to find out if the resulting binary is the same or not and what’s possible once it matured.
minus-squareJackbyDevlinkfedilinkEnglish2•4 hours 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.
I 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)
.