This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

public interface

 
sonia jaswal
Ranch Hand
Posts: 42
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is a public interface???
 
abhishek pendkay
Ranch Hand
Posts: 184
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sonia,
the word interface is overloaded in java ie it can mean two things, an interface that you can implement, so in that case a public interface is just an interface declared public...like public interface MyInterface

but the word interface is also used to designate the public methods of your class or those methods of your class that other classes should know about.... so in that case public interface is a collection of public methods that your class exposes to other classes like the getter and setter methods....

hope this clears your doubts
 
sonia jaswal
Ranch Hand
Posts: 42
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you...
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic