Scanner That Checks If You're Part Of Illuminatis

+7 Developer John · November 19, 2014
Lol:

import java.util.Scanner;

class Test1{
public static void main(String args[]){

Scanner scan = new Scanner(System.in);
System.out.println("Enter an integer:");
int lol = scan.nextInt();

if(lol == 666){
System.out.println("Illuminati confirmed!");
}
Test2 test2Object = new Test2();
test2Object.sendMessage(lol);

}
}
class Test2{
public void sendMessage(int lol){
System.out.println("The value of the variable is " + lol);
}
}

Post a Reply

Replies

Oldest  Newest  Rating
+1 Bucky Roberts · November 19, 2014
/images/forum/upload/2014-11-19/ef513d3a22f3485a00b1ddb09ef3f45d.jpg
+1 Homer Simpson · November 19, 2014
Lmfao!! @wheately core
+1 Developer John · November 19, 2014
XD
+1 Developer John · November 19, 2014
http://i.imgur.com/x7Gq5u6.jpg
  • 1

Java / Android Development

107,072 followers
About

Very popular language used to create desktop applications, website applets, and Android apps.

Links
Moderators
Bucky Roberts Administrator