Question: What must go inside of class B in this code? public interface A { public void doStuff(); public static int x = 2; }
What must go inside of class B in this code? public interface A { public void doStuff(); public static int x = 2; } public class 8 implements A { // ? }
Step by Step Solution
3.50 Rating (157 Votes )
There are 3 Steps involved in it
In Java when a class implements an interface it agrees to provide ... View full answer
Get step-by-step solutions from verified subject matter experts
