santanu biswal wrote:
WHY INTERFACE METHODS ARE NOT STATIC??
I COULD NOT UNDERSTAND IT..
Interface methods are implicitly abstract and abstract methods cannot be static. This is because static methods always must be given a body in the class where they're defined. And this is because they belong to the class where they're defined. They cannot be given a body in some other class the way abstract non-static methods can.
So interface methods are not static because that would go against the very nature of static methods. If interface methods could be static than they would be the same as non-static methods and it would be meaningless to maintain the difference. So if interface methods could be static then static methods would cease to exist.