Answer to Question #63979 in Java | JSP | JSF for hamod

Question #63979
correct the following code segment :
public interface looney
{
public abstract void add();

void compute()
{
system.out.println("\nthis is it");
}
}
1
Expert's answer
2016-12-14T11:47:09-0500
public interface Looney {

public abstract void add();

default void compute() {
System.out.println("\nthis is it");
}
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS