Question: help QUESTION 18 Replace the variables highlighted in yellow public class Main AAA public BBB void main(String[] args) { String greeting = Hi; CCC farewell

help
help QUESTION 18 Replace the variables highlighted in yellow public class Main

QUESTION 18 Replace the variables highlighted in yellow public class Main AAA public BBB void main(String[] args) { String greeting = "Hi"; CCC farewell = "Bye"; int x = 1; if (x DDD 1){ System.out.print(EEE); } else{ System.out.print(farewell); } System.out.println(", " + "Congrats!"); } } with what will make the program show the following output Hi, Congrats

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!