CMake/Tests/JavaJavah/HelloWorld2.java

16 lines
237 B
Java

class HelloWorld2
{
public static void main(String args[])
{
B b;
b = new B();
b.printName();
C c;
c = new C();
c.printName();
System.out.println("Hello World!");
}
}