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.
i have got a doubt regarding transient variable while reading Heller and Roberts book...
Which of the following statements is true? A.Transient methods may not be overridden. B.Transient methods must be overridden. C.Transient classes may not be serialized. D.Transient variables must be static. E.Transient variables are not serialized.
here the answer given is E.i just wanted to know that why not transient variable be static and also i feel that they can be serializable .