We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a23823 commit cdc1cd8Copy full SHA for cdc1cd8
1 file changed
Basic Codes/swap2.java
@@ -19,7 +19,7 @@ void swap(int x, int y)
19
}
20
System.out.println("After swap \n"+"x= "+x+"\ny= "+y);
21
22
- public static void main()throws IOException
+ public static void main(String args[])throws IOException
23
{
24
InputStreamReader inp=new InputStreamReader(System.in);
25
BufferedReader br=new BufferedReader(inp);
@@ -29,4 +29,4 @@ public static void main()throws IOException
29
swap2 obj=new swap2();
30
obj.swap(x,y);
31
32
-}
+}
0 commit comments