Welcome to Javaranch
Please use CODE tag while posting your code,so that it can be readable.
Linga wrote:
In one rare case there are "N"- no of methods in interface but i want to implement only some of them.... can we do this without implementing other methods of interface?
1.Create one AbstractInterface and provide some default implementation[or throw UnsupportedOperationException] for those methods which are not going to use in a Concrete class(Let say X) . and X extends AbstractInterface instead of Interface
2. or Implements all the mothod and throw an
UnsupportedOperationException from the methods which are not neccessary