why code example
Example 1: why
life isn't fair buddy, get used to it
Example 2: why
package self_guided;
import java.util.Scanner;
public class MeadOS_Alpha {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
System.out.println("TO BOOT MEADOS, ENTER THE NAME OF THE BEST OPERATING SYSTEM");
String answer = scan.nextLine();
if(answer == "MeadOS") {
System.out.println("YOU MAY NOW BOOT MEADOS");
}
else {
System.out.println("INCORRECT.");
System.out.println("SHUTTING DOWN MEADOS...");
}
}
}