I have written one interface testInter.java i declare setName() method in testInter.java, and i have written class test.java. I Implemented testInter.java in test.java. I have written another class call.java. Can i call method of Interface testInter.java in call.java??
Well I'm not sure what you what you mean about calling a method of an interface. The interface has no implementation for it's methods. You can include a method with the same name as the one in your interface in call.java as long as you don't have a method already with that signature.