import static java.lang.System.out;
class SalutonMondo {
public static void main(String[] args) {
out.println("Saluton Mondo!");
}
}
That seems simple enough, but as Flanagan demonstrates, the static import keyword does some things you might not expect.
All comments are moderated before publication. These HTML tags are permitted: <p>, <b>, <i>, <a>, and <blockquote>. This site is protected by reCAPTCHA (for which the Google Privacy Policy and Terms of Service apply).