Welcome Guest | Sign in | Register
File - Discussion Page For Q.2729 | Java Programming Questions and Answers | Java Programming Free Online-Tests | LucentBlackBoard | LucentBlackBoard.com

Home > Java Programming > File > Questions and Answers

Q: Which statement is true ?
A. serialization applies only to OBJECTS. B. Static variables are NEVER saved as part of the object's state. So static variables are not Serializable.
C. Both are true D. None of the above

Answer and Explanation

Answer:Both are true

Explanation:
serialization applies only to OBJECTS. static variables are related to class not
OBJECT. so static variables are not Serializable.

Comment on this Question

Name:

Loading...




Partner Sites
LucentBlackBoard.com                  SoftLucent.com                  LucentJobs.com
All rights reserved 2012-2015 SoftLucent.