Answers

Question and Answer:

  Home  Java Classes

⟩ In interfaces the methods just defined without implementation then what is the purpose of defining the methods?

As By giving the Methods(Declaring) in Interface , We are telling to must follow exactly the same Signature for the given Methods. This wil be used when we are writing RMI Applications . Because in this case we just give the Interface to the User, so that user will come to know the Signature of the Method and later he/she will call it.

 193 views

More Questions for you: