QuestionQ16
Java Object-Oriented ApproachGiven:

Which change allows the code to compile?
- A Replace 2 with static String name;
- B Replace 7 with public static void display(String design) {
- C Replace 3 with private static void display() {
- D Replace 15 with Item.display("Flower");
Community Discussion