Originally posted by Engin Okucu:
what is the interest in having private method ?
I want to understand if there is a relation between private method and the threads ?
Thanks.
Originally posted by sever oon:
I've heard the argument made by a very smart friend of mine that private methods are generally indicative of bad design, excepting private constructors...
Mike Gershman
SCJP 1.4, SCWCD in process
Originally posted by Mike Gershman:
Off topic, I was surprised to see exceptions used for something as routine as insufficient funds. Isn't that a bit inefficient?
Originally posted by Mike Gershman:
The private method in the example is a primitive used in multiple places in other methods. Making the method private ensures that everyone uses the same version of the method and that only methods within that class and its subclasses can call the method.
Ever Existing, Ever Conscious, Ever-new Bliss
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Don't get me started about those stupid light bulbs. |