Merge branch 'bobsexperiment'

This commit is contained in:
Nathan Woodburn 2023-03-21 13:40:26 +11:00
commit 12d20193e0
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1
2 changed files with 10 additions and 0 deletions

View File

@ -2,6 +2,15 @@ package gittest;
public class B { public class B {
/**
* Test method
* @param args
*/
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)";

View File

@ -3,5 +3,6 @@ package gittest;
public class Main { public class Main {
public static void main(String[] args) { public static void main(String[] args) {
A a = new A(); A a = new A();
B b = new B();
} }
} }