Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Where and Why to use Interface?

 
Pankaj Kr. Singh
Ranch Hand
Posts: 32
Hibernate Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Can anyone explain why to use interface and when to use it? What are the advantages of using it?
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pankaj Singh Hari Om wrote:Can anyone explain why to use interface and when to use it? What are the advantages of using it?

Please search here in JavaRanch. the same question discussed many times here.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic