diff options
Diffstat (limited to 'Tests/JavaJavah/HelloWorld2.java')
-rw-r--r-- | Tests/JavaJavah/HelloWorld2.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/JavaJavah/HelloWorld2.java b/Tests/JavaJavah/HelloWorld2.java new file mode 100644 index 0000000..faf7277 --- /dev/null +++ b/Tests/JavaJavah/HelloWorld2.java @@ -0,0 +1,10 @@ +class HelloWorld2 +{ + public static void main(String args[]) + { + B b; + b = new B(); + b.printName(); + System.out.println("Hello World!"); + } +} |