CMake/Tests/JavaJavah/HelloWorld2.java

16 lines
237 B
Java
Raw Normal View History

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!");
}
}