Question: A. Consider the following two interfaces P1 and P2. Complete the following tasks now: i. Write an interface named P3 inheriting both P1 and P2

A. Consider the following two interfaces P1 and P2. Complete the following tasks now: i. Write an interface named P3 inheriting both "P1 and P2 ii. Now write a concrete class named "Concrete inheriting from P3 and overriding the required methods with proper signature i.e. proper access specifier, return type and parameters N.B. Just write only the solution codes interface P1 { double h2 (int x); interface P2{ String k1(); void k2()
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
