Post History
Use interface The special thing about this is that it lets you drop public when you originally call a class to run the main function. class F{public static void main(String[]a{}} interface M{sta...
Answer
#1: Initial revision
# Use `interface` The special thing about this is that it lets you drop `public` when you originally call a `class` to run the `main` function. ```java class F{public static void main(String[]a{}} interface M{static void main(String[]a){}} ``` [Try it online!][TIO-kuptqdy6] [TIO-kuptqdy6]: https://tio.run/##y0osS9TNSsn@/z85J7G4WMGtuqA0KSczWaG4JLEESJXlZ6Yo5CZm5mkElxRl5qVHxyZW19ZyZeaVpBalJSanKvhW41apCVT6/79vYlG2gntmUWJaWioA "Java (JDK) – Try It Online" <sup>Used on ["Hello, {name}!"](https://codegolf.codidact.com/posts/283966/283971#answer-283971)</sup>