Update UserService.java

Signed-off-by: jeet041 <mahorjitendra@gmail.com>
This commit is contained in:
jeet041 2025-05-09 13:04:18 +05:30 committed by GitHub
parent 7c88063cf0
commit a51060eb87
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,6 +15,9 @@ public class UserService {
public void notifyUser(int userId) {
System.out.println("Main: sending notification to user " + userId);
}
public void notifyUser2(int userId) {
System.out.println("dev: sending notification to user " + userId);
}
public void deleteUser(int userId) {
logDeletion(userId);
@ -23,4 +26,4 @@ public class UserService {
private void logDeletion(int userId) {
System.out.println("Main: user " + userId + " deleted");
}
}
}