Skip to content

Commit 4f96f97

Browse files
Create Login.java
1 parent 8388b06 commit 4f96f97

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

Login.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import java.io.*;
2+
3+
class Login {
4+
public static void main(String[] args) throws Exception {
5+
FileWriter fw = new FileWriter("users.txt");
6+
fw.write("admin 1234");
7+
fw.close();
8+
System.out.println("User stored");
9+
}
10+
}

0 commit comments

Comments
 (0)