CMake/Tests/Java/HelloWorld.java

12 lines
180 B
Java
Raw Normal View History

class HelloWorld
{
public static void main(String args[])
{
A a;
a = new A();
a.printName();
System.out.println("Hello World!");
}
}