Question: What is the output? public class ex public static void main(stringargs) { minew Gradstudent); new Student); Chew Human): Chew Oject) > public static void (student
What is the output? public class ex public static void main(stringargs) { minew Gradstudent); new Student); Chew Human): Chew Oject) > public static void (student ) Systen uut.print(1) public static void mObject obj) If (ob instanceof Hasan System.out.print(2), System.out.print) 1 class Student extends than class Grudentils Student) O 1122 0 2220 0 3333 O 2230 0 1123
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
