Can anyone explain me why this code does not works?
When I try to compile it, I get this error message:
C.java:3: error: m() in C cannot implement m() in A
void m() {
^
attempting to assign weaker access privileges; was public
I do not undestand why this happens.