Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c7dd8a0

Browse files
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)

AltStyle によって変換されたページ (->オリジナル) /