Skip to content

Commit 965a03f

Browse files
committed
added javadoc
1 parent 8c46773 commit 965a03f

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

java8Tutorials/src/main/java/java8/functionalInterface/ConsumerInterfaceDemo1.java

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
package java8.functionalInterface;
22

33
import java.util.function.Consumer;
4-
4+
/**
5+
*
6+
* @author saurav
7+
*
8+
*/
59
public class ConsumerInterfaceDemo1
610
{
11+
/**
12+
* print Message
13+
* @param name
14+
*/
715
public static void printMessage(String name){
816
System.out.println("Welcome "+name);
917
}

0 commit comments

Comments
 (0)