Consider the code below. If we create an object of the Child class and call the `prinMessaget()` method on that object, what will be the output? ```java class Parent { void printMessage() { System.out.println("Hello from Parent"); } } class Child extends Parent { void printMessage() { super.printMessage(); System.out.println("Hello from Child"); } } ```




© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.

© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.