real time scenario between interface/abstract class ?

Posted by JavaUser on Stack Overflow See other posts from Stack Overflow or by JavaUser
Published on 2010-03-19T07:35:17Z Indexed on 2010/03/19 7:41 UTC
Read the original article Hit count: 272

Filed under:
|

Hi ,

Please give me a real time simple example for the below questions :

  1. Where to use interface rather abstract class
  2. Where to use abstract class rather interface

I need code snippet for both .

Which takes low memory and which performs well . Do I need to consider the design aspect also? What is the conceptual difference not the syntactical difference .

© Stack Overflow or respective owner

Related posts about java

Related posts about oop