*
The moose likes Beginning Java and the fly likes use of abstact class and interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "use of abstact class and interface" Watch "use of abstact class and interface" New topic
Author

use of abstact class and interface

mohanasundaram muthukannan
Ranch Hand

Joined: May 29, 2008
Posts: 35
hi,


What is the use of abstract classes?

What is the use of interface?


When to use abstract class and when to use interface?
Amit Ghorpade
Bartender

Joined: Jun 06, 2007
Posts: 2716
    
    6

Hi mohanasundaram muthukannan welcome to Javaranch

See InterfaceVsAbstractClass

When to use abstract class and when to use interface?


Should depend on your requirement.

Hope this helps


SCJP, SCWCD.
|Asking Good Questions|
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: use of abstact class and interface