This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Khalid's book states:Pg126 Transient modifier should not be specified for static variables as these do not belong to objects But later in the problem 4.26 Pg 130 Is this legal declaration? final transient static private double PI = 3.141592 The answer is true. Can someone please explain? thanks veena
Bill, I would like to correct a small error, transient cannot be applied to a class or a method, it can only be applied to variables. read the line " Transient class can be declared as static and final. RHE reported this wrong and corrected it on the errata sheet " which you had written. ------------------ Regards, V. Kishan Kumar