Course Solutions Uncategorized (Solved) : Following Code Compile Successfully Justify Answer Interface Int 111 Class B Implements Vo Q31474188 . . . .

(Solved) : Following Code Compile Successfully Justify Answer Interface Int 111 Class B Implements Vo Q31474188 . . . .

 

Does the following code compile successfully? Justifyyour answer

interface A

{

    int i =111;

}

class B implements A

{

    voidmethodB()

    {

        i = 222;

    }

}

Expert Answer


An answer will be send to you shortly. . . . .

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post