Merge branch 'master' into JAVA-7244-Review_log_statements_for_projects
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package com.baeldung.reflection.access.staticmethods;
|
||||
|
||||
public class GreetingAndBye {
|
||||
|
||||
public static String greeting(String name) {
|
||||
return String.format("Hey %s, nice to meet you!", name);
|
||||
}
|
||||
|
||||
private static String goodBye(String name) {
|
||||
return String.format("Bye %s, see you next time.", name);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user