Results 1 to 4 of 4
- 06-27-2007, 04:20 PM #1
Member
- Join Date
- Jun 2007
- Posts
- 5
- Rep Power
- 0
- 06-27-2007, 05:21 PM #2
Check this page:
JavaRanch FAQ : Interface Vs Abstract Class
- 11-07-2009, 04:17 AM #3
Member
- Join Date
- Nov 2009
- Posts
- 1
- Rep Power
- 0
difference between Abstract and interface
1) abstract class code is reusable ,this is not in the case of interface.
2) in interface all the methods are by default abstract as well as public.
3)we can have concrete methods also in abstract class,this is not valid in interface
4)declared variables in interface by default public,static,final.this is not in the case of abstract class
-
Similar Threads
-
Error! "filename" is not abstract and does not override abstract method...
By hasani6leap in forum New To JavaReplies: 6Last Post: 10-27-2008, 12:25 AM -
Interface Vs Abstract Class
By javarishi in forum New To JavaReplies: 5Last Post: 06-15-2008, 05:43 AM -
what is the Priority for execution of Interface class and a Abstract class
By Santoshbk in forum Advanced JavaReplies: 0Last Post: 04-02-2008, 07:04 AM -
Difference between ASP and JSP
By barney in forum JavaServer Pages (JSP) and JSTLReplies: 1Last Post: 08-07-2007, 07:15 AM -
difference between this and super
By mrark in forum New To JavaReplies: 1Last Post: 06-27-2007, 05:23 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks