Question: Use polymorphism technique to design a public method called displayPhoneInfo in main class, which can be used to display information for either a Phone object
Use polymorphism technique to design a public method called displayPhoneInfo in main class, which can be used to display information for either a Phone object or a InternationalPhone object. Then write a complete program to test the method displayPhoneInfo.

FOR JAVA
Use polymorphism technique to design a public method called displayPhonelnfo in main class, which can be used to display information for either a Phone object or a InternationalPhone object. Then write a complete program to test the method displayPhonelnfo
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
