This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Beginning Java and the fly likes Real Time difference between abstract and interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Real Time difference between abstract and interface" Watch "Real Time difference between abstract and interface" New topic
Author

Real Time difference between abstract and interface

Rajendra Prakash
Ranch Hand

Joined: Sep 10, 2009
Posts: 293
I know the difference between abstract and interface , but i want to know real time example for abstract and interface.
where to use abstract and interface
Muhammad Khojaye
Ranch Hand

Joined: Apr 12, 2009
Posts: 449

There is a FAQ regarding this. Please post, If still have any question.


http://muhammadkhojaye.blogspot.com/
Rajendra Prakash
Ranch Hand

Joined: Sep 10, 2009
Posts: 293
Give me real time example for difference between abstract and interface.
Martin Vanyavchich
Ranch Hand

Joined: Sep 16, 2008
Posts: 241
I don't know if this will answer your question, but it's worth a try

Example of Interface
Example of Abstract class
... and a concrete class extending the abstract one

You know, a couple of clicks in the java API docs, and you could have figured this one out youself.


SCJP 6, OCMJD 6, OCPJWSD 6
I no good English.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Real Time difference between abstract and interface