package hoge; class A{ public void main(String[] args){ } } class B { public static void main(String[] args) { Runnable runnable = () -> { System.out.println("Hello World!"); }; runnable.run(); } } class C{ public static void main(String[] args){ } }