Question: oh god help java QUESTION 18 Replace the variables highlighted in yellow public class Main AAA public BBB void main(String[] args) { String greeting =
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! note that you will write your answer in the following table for every value to replace
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
