Created
June 17, 2020 21:10
-
-
Save luissilvazup/987b255c2a14cc87c5060f6d0d6e24fe to your computer and use it in GitHub Desktop.
SRP Solution Part 3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class S_SingleResponsabilitySolution { | |
private static class AuthenticateLogin { | |
public boolean login(User user) { | |
ConnectionDAO connectionDAO = new ConnectionDAO("root", ""); | |
Connection connection = connectionDAO.createConnection(); | |
//realiza o login do usuário no sistema | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment