summaryrefslogtreecommitdiff
path: root/Tests/Java/HelloWorld.java
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/Java/HelloWorld.java')
-rw-r--r--Tests/Java/HelloWorld.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/Java/HelloWorld.java b/Tests/Java/HelloWorld.java
new file mode 100644
index 000000000..54246ec26
--- /dev/null
+++ b/Tests/Java/HelloWorld.java
@@ -0,0 +1,11 @@
+class HelloWorld
+{
+ public static void main(String args[])
+ {
+ A a;
+ a = new A();
+ a.printName();
+ System.out.println("Hello World!");
+ }
+}
+