Which is the valid declarations within an interface definition?
A.public double methoda();
B.public final double methoda();
C.static void methoda(double d1);
D.protected void methoda(double d1);
Answer:A
Which is the valid declarations within an interface definition?
A.public double methoda(); B.public final double methoda(); C.static void methoda(double d1); D.protected void methoda(double d1);