gittest: Added main

This commit is contained in:
Nathan Woodburn 2023-03-21 13:21:46 +11:00
parent d63adea7dc
commit 626dc8ff41
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -2,6 +2,11 @@ package gittest;
public class B { public class B {
public static void main(String[] args) {
System.out.println("Hello World!");
}
@Override @Override
public String toString() { public String toString() {
return "This is a string from B (would usually do something else)"; return "This is a string from B (would usually do something else)";