File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes When to use Abstract class and when to use Interface ?? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "When to use Abstract class and when to use Interface ??" Watch "When to use Abstract class and when to use Interface ??" New topic
Author

When to use Abstract class and when to use Interface ??

Vishal Fichadiya
Greenhorn

Joined: Oct 07, 2008
Posts: 6
Hi guys,
I am starting a Java Web project from scrach. I want to know when i should use interface and when i should opt for
Abstract class ??
Lorand Komaromi
Ranch Hand

Joined: Oct 08, 2009
Posts: 276
Just google interface vs abstract!


OCJP 6 (93%)
Muhammad Khojaye
Ranch Hand

Joined: Apr 12, 2009
Posts: 340
this might help : Interface Vs Abstract Class


http://muhammadkhojaye.blogspot.com/
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 26710
Search this forum; somebody else asked the same question about two weeks ago.
 
 
subject: When to use Abstract class and when to use Interface ??
 
Threads others viewed
Difference between abstract class and interface
Abstract Class & Interface
abstract class vs interface ?
abstract class and interface
When to use Abstract class and when to use Interface ?/
IntelliJ Java IDE