• Baizey@feddit.dk
    link
    fedilink
    arrow-up
    3
    ·
    9 hours ago

    Technically java would also be (){} since the modifiers are optional (outside of public static void main(String… args)) and return type is ignore for the others :D

    • potatoguy@lemmy.eco.br
      link
      fedilink
      arrow-up
      3
      ·
      9 hours ago

      Yeah, it’s a joke, but I disagree on the void, the other languages on the meme doesn’t need a return type (when they are returning nothing), java needs it.