View Single Post
  #1 (permalink)  
Old 12-06-2007, 02:44 PM
mew mew is offline
Member
 
Join Date: Nov 2007
Posts: 70
mew is on a distinguished road
Implementing Interface
I have written following interface with 3 abstract methods. Now class implementing this interface have to overwrite all of these 3 methods.

Code:
public interface Mapper { public void createSchema(); public int getNoOfClasses(); public void setHost(String hostName); }
I have a situation where one class should implement all of these 3 methods and other should only implement createSchema method. How this is possible using this interface.
Reply With Quote
Sponsored Links