<p><strong>Is the following code written correctly? Justify youranswer. [0.25]</strong></p><p style="margin-left:18pt;">class A</p><p style="margin-left:18pt;">{</p><p style="margin-left:18pt;"> //Class A</p><p style="margin-left:18pt;">}</p><p style="margin-left:18pt;"/><p style="margin-left:18pt;">interface B extends A</p><p style="margin-left:18pt;">{</p><p style="margin-left:18pt;"> //Interface Bextending Class A</p><p style="margin-left:18pt;">}</p><p><strong>What will be the output