Java

Topic: Abstract Class and Interfaces

What is wrong with the following interface?public interface SomethingIsWrong {    void aMethod(int aValue) {        System.out.println("Hi Mom");    }}

It has a method implementation in it. It should just have a declaration.

Browse random answers: