Java: Interface vs Abstract Class (regarding fields)

Posted by lifeR00t on Stack Overflow See other posts from Stack Overflow or by lifeR00t
Published on 2009-01-20T17:13:07Z Indexed on 2010/04/13 3:32 UTC
Read the original article Hit count: 256

From what I have gathered, I want to force a class to use particular private fields (and methods) I need an abstract class because an interface only declares public/static/final fields and methods. Correct??

I just started my first big java project and want to make sure I'm not going to hurt myself later :)

© Stack Overflow or respective owner

Related posts about java

Related posts about fields