gittest: Added main
This commit is contained in:
parent
d63adea7dc
commit
626dc8ff41
@ -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)";
|
||||||
|
Loading…
Reference in New Issue
Block a user