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 =

oh god help java
oh god help java QUESTION 18 Replace the variables highlighted in yellow

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

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!