I have a constructor of a normal class and within that I call another
public method.

Now NetBeans wants me to make the complete class final or change the
public method to final, static or private.

I assume that is because of possible derivations of the class. But if
somebody subclasses this class and overwrites that public method,
shouldn't then the overwritten variant of this method be called? And
then everything would be fine I think.

So I do not really understand why NetBeans would like me to change this...
-- 
Martin Wildam

http://www.google.com/profiles/mwildam

-- 
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

<<attachment: screen080.png>>

Reply via email to