custom implementation of interface methods
Posted
by Renuka
on Stack Overflow
See other posts from Stack Overflow
or by Renuka
Published on 2010-05-27T18:13:26Z
Indexed on
2010/05/27
18:21 UTC
Read the original article
Hit count: 140
java
Hello all, I have a doubt in this scenario, I have posted some example code here....
public interface a{
public void m1();
public void m2();
public void m3();
.
.
.
public void m100();
}
public class A implements a{
public void m3(){
// implementation code
}
// Here i need to implement only m3() method but not all 100 methods
//basically i have to implement all the other 99 methods
// but here i don't want to either implement or provide skeleton declarations for all
//remaining.... what should i do for compiling this ????
}
Could anyone help this?
© Stack Overflow or respective owner