Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Scanner;
- public class apples{
- public static void main(String[] args) {
- Scanner daniel = new Scanner (System.in);
- tuna tunaObject = new tuna ();
- bear bearObject = new bear ();
- System.out.println("Please enter in your mac password to retireve your keylogger");
- String password = daniel.nextLine();
- if("lolnicetry".equals(password)) {
- tunaObject.simpleMessage(password) ;
- }else{
- bearObject.simpleMessage(password) ;
- }
- }
- }
- public class tuna {
- public void simpleMessage (String password){
- System.out.println("Your keylogger is " + password);
- System.out.println("Your password is @g&kh96j6)FsUvYP. Have fun!");
- }
- }
- public class bear {
- public void simpleMessage (String password){
- System.out.println("Your keylogger is " + password);
- System.out.println("This keylogger is incorrect, please try again.");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement