Skip to content

Commit c7dd8a0

Browse files
authored
Create static_pub.java
1 parent 88ceca0 commit c7dd8a0

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

static_pub.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
public class Main{
2+
static void welcome()
3+
{
4+
System.out.println("WELCOME FAMILY");
5+
}
6+
public void end()
7+
{
8+
System.out.println("Bye Bye");
9+
}
10+
public static void main(String[] args)
11+
{
12+
welcome();
13+
Main ob=new Main();
14+
ob.end();
15+
}
16+
}

0 commit comments

Comments
 (0)