Skip to content

Commit

Permalink
Merge 5561dc1 into 8b87357
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzoBettini committed Jan 22, 2021
2 parents 8b87357 + 5561dc1 commit 88ec57e
Showing 1 changed file with 9 additions and 2 deletions.
@@ -1,7 +1,14 @@
package com.examples.myproject;

public class App {
public String sayHello(String name) {
if (name == null)
return "Hello";
else
return "Hello " + name;
}

public String sayHello() {
return "Hello";
return sayHello(null);
}
}
}

0 comments on commit 88ec57e

Please sign in to comment.