Add oving0
This commit is contained in:
16
src/main/java/oving0/HelloWorld.java
Normal file
16
src/main/java/oving0/HelloWorld.java
Normal file
@@ -0,0 +1,16 @@
|
||||
package oving0;
|
||||
|
||||
public class HelloWorld {
|
||||
|
||||
public String getHelloWorld() {
|
||||
return "Hello World!";
|
||||
}
|
||||
|
||||
public int getHelloWorldLength() {
|
||||
return this.getHelloWorld().length();
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
System.out.println(new HelloWorld().getHelloWorld());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user