The moose likes Beginning Java and the fly likes difference between interface and abstract Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "difference between interface and abstract " Watch "difference between interface and abstract " New topic

difference between interface and abstract

anita dhar
Ranch Hand

Joined: May 24, 2007
Posts: 34
Hi, i am wondering when we have to use abstract and when inetrface
what is interface and abstract when we can go for interface and when we go for abstract class .
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 15002

Please do a search; this question has been asked many times before, so you'll quickly find an answer if you search.

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
Jim Yingst

Joined: Jan 30, 2000
Posts: 18671
Anita, you keep posting questions in I/O and Streams regardless of whether the question has anything to do with I/O and Streams. Please take a look at our list of forums and try to select an appropriate forum for each different question you have. I will move this particular question to Java in General (beginner).

"I'm not back." - Bill Harding, Twister
I agree. Here's the link:
subject: difference between interface and abstract
jQuery in Action, 3rd edition