Tuesday, September 21, 2010

Java

>Class variables (static fields) are fields declared with the static modifier; there is exactly one copy of a class variable, regardless of how many times the class has been instantiated.

--String s = "this is a string";. String objects are immutable, which means that once created, their values cannot be changed.