Question: please show me all the code For this exercise, you will create a Java program to randomly choose, and then print to the console, one

please show me all the code For this exercise, you will createa Java program to randomly choose, and then print to the console,one of five possible greetings. The text of the 5 possible greetingsplease show me all the code

For this exercise, you will create a Java program to randomly choose, and then print to the console, one of five possible greetings. The text of the 5 possible greetings is up to you. Using IntelliJ IDE create a new Java project called "RandomHello". You may use the following as a skeleton for your class RandomHello.java: public class RandomHe1lo 1 public static void main(String1 args) f RandomHello randomHe7lonew RandomHe1loO; System.out.println(randomHe11o. sayHe110)); public String sayHelloO 1 YOUR CODE GOES HERE Please note that this skeleton is meant only to serve as a starting point for students who are not familiar with Java. If you have some Java programming experience, you are free to organize RandomHello as you see fit

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!