Question: interface Exportable { void export ( ) ;class Tool implements Exportable { public void export ( ) fSystem. out. println ( Tool: :export )
interface Exportable void export ;class Tool implements Exportable public void export fSystem. out. println Tool: :export"; line nclass ReportIool extends Tool void export tSystem. out. println RTool: :export" ; line npublic static void mainString argsTool aTool new ReportIool ;Tool bTool new Tool;callExport aTool ;callExport bTool ;public static void callExport Exportable exex export ;What is the result?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
