This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java in General and the fly likes Interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Interface" Watch "Interface" New topic


Jigar Naik
Ranch Hand

Joined: Dec 12, 2006
Posts: 753
What is the use of interface in java ???
interface just define the scalatone of the class implementing interface nothing else...

Than why there is a consept of interface in java ???

same why why there is a consept of method overriding and overloading in java ???

Jigar Naik

Deepak Bala

Joined: Feb 24, 2006
Posts: 6661

I would suggest you read a book on OO. Try the new head first OO book. Its just out on the market.

Here it is:

SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
It is sorta covered in the JavaRanch Style Guide.
subject: Interface
Similar Threads
Why is Java IO Abstract Class Based while Collections are Interface based
what is marker interface?
very basic question (length)
How use OOPs in Servlet
Interface Question