Question: How to code a website with Eclipse using the code below Scanner scanner = new Scanner(System.in); while (true) { System.out.println(Exit? (y exits));
How to code a website with Eclipse using the code below
Scanner scanner = new Scanner(System.in);
while (true) {
System.out.println("Exit? (y exits)");
String input = scanner.nextLine();
if (input.equals("y")) {
break;
}
System.out.println("Ok! Let's carry on!");
}
System.out.println("Ready!");
Step by Step Solution
There are 3 Steps involved in it
Set up a Spring Boot project in Eclipse Open Eclipse and go to File New Other In the wizard select S... View full answer
Get step-by-step solutions from verified subject matter experts
