diff options
Diffstat (limited to 'Tests/Java')
-rw-r--r-- | Tests/Java/A.java | 6 | ||||
-rw-r--r-- | Tests/Java/HelloWorld.java | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Tests/Java/A.java b/Tests/Java/A.java index e34b704..403a7f8 100644 --- a/Tests/Java/A.java +++ b/Tests/Java/A.java @@ -1,11 +1,11 @@ class A { - public A() + public A() { } - + public void printName() - { + { System.out.println("A"); } } diff --git a/Tests/Java/HelloWorld.java b/Tests/Java/HelloWorld.java index 54246ec..378e371 100644 --- a/Tests/Java/HelloWorld.java +++ b/Tests/Java/HelloWorld.java @@ -1,5 +1,5 @@ class HelloWorld -{ +{ public static void main(String args[]) { A a; |