summaryrefslogtreecommitdiff
path: root/Tests/JavaJavah/HelloWorld2.java
blob: 5ff710f95317a31ae213354110f5baf89de6e24d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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!");
    }
}