Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

With Java 24 it’s now:

    void main() {
   
    }


Not if you want to handle arguments?


Also not if you want to open a file. For that you'd have to create an instance of FileInputStream. I'm not sure what your point is.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: