File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes Only one question in interface and abstract class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Reply locked New topic

Only one question in interface and abstract class

Shanmugam nagaraj
Ranch Hand

Joined: May 07, 2007
Posts: 76
my question is regarding Interface and abstract class.

I know the difference between the abstract class and interface.
But I need to know in real time application when we use the interface and when we use the abstract class.

What all are the scenario we use this both can any one help me out regarding this pls..


Shanmugam N

Thanks <br />Shanmugam N
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 45302
Why are you not asking this in the Java in general (beginner) forum?
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32818

He did. In the future, please don't post the same question in multiple forums.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Only one question in interface and abstract class
It's not a secret anymore!