Question: Consider the following two classes, which are to be used in an application: public class HighClass ( private int num; private String str; public HighClass()

Consider the following two classes, which are to be used in an application: public class HighClass ( private int num; private String str; public HighClass() } public HighClass (int numin, String strIn) ( } num = 10; str = "Hello"; num= numIn; str = strin; public void display (int mult) ( } } System.out.println (100+ mult num); public void display (String strIn) ( System.out.println (str + strin); public class LowClass extends HighClass private char ch; public LowClass() ( super (); ch = '0'; public void display (String strin) { System.out.println (strIn + ch); Which of the following statements is correct? Time left

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!