JAVA ABSTRAT CLASS INTERFACE
3 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   som_sAHI
Posted On:   Wednesday, October 20, 2004 05:27 AM

IN WHAT SCENARIO ABSTRACT CLASS AND IN WHAT SCENARIO INTERFACE SHOULD BE USED.

Re: JAVA ABSTRAT CLASS INTERFACE

Posted By:   Benoit_Quintin  
Posted On:   Wednesday, October 20, 2004 01:28 PM

Ah crap, would you please use GOOGLE before posting questions on this site, dammit ?

http://jguru.com/faq/view.jsp?EID=13984

Re: JAVA ABSTRAT CLASS INTERFACE

Posted By:   Bashir_Wichka  
Posted On:   Wednesday, October 20, 2004 10:36 AM

Abstract is better option, you can specify some static variables and static methods in the abstract class. In interfaces you can't. Abstract are flexible in that way.

Re: JAVA ABSTRAT CLASS INTERFACE

Posted By:   Bashir_Wichka  
Posted On:   Wednesday, October 20, 2004 10:36 AM

Abstract is better option, you can specify some static variables and static methods in the abstract class. In interfaces you can't. Abstract are flexible in that way.
About | Sitemap | Contact