Java Getter Setter Why do we keep instance variables private? We don’t want other classes to depend on them. Moreover it gives the flexibility to change a variable’s type or implementation on a whim or an impulse. Why, then do programmers automatically...
13 replies - 8103 views - 10/19/10 by Muhammad Khojaye in Articles
Why do we keep instance variables private? We don’t want other classes to depend on them. Moreover it gives the flexibility to change a variable’s type or implementation on a whim or an impulse. Why, then programmers automatically add getters and setters...
0 replies - 2296 views - 09/10/10 by Muhammad Khojaye in Articles
During the last Devoxx conference, Mark Reinhold, Sun's chief engineer for Java SE, gave a presentation
on the latest directions for Java 7. (Hamlet D'Arcy's summary of Mark's presentation is available
here.)
13 replies - 25038 views - 05/30/09 by Javier Paniza in Articles
In one of
the recent posts we have discussed the new way to deal with encoding of the
source files. Today, we’ll continue with the properties files. As of EAP of IntelliJ IDEA 8.0, encoding of the
properties files also becomes a project setting, rather than...
2 replies - 5864 views - 05/21/08 by Irina Megorskaya in Articles