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)

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

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!