68 369
Assignments Done
Successfully Done
In November 2018

Answer to Question #63010 in Java | JSP | JSF for jonney

Question #63010
array class is transient by default ? {true,false} ,and why false if false
Expert's answer
'Transient' marks a member variable not to be serialized when it is persisted to a byte stream. Transient fields are not transferred but ignored when an instance is being serialized. That is, only a member variable can be transient/non-transient, and it is not applicable to a class itself.

If an instance of an array class is a member variable of some other class, it is by default not transient, since a member variable can only be transient only if it was specifically declared as such. The answer is false.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!


No comments. Be first!

Leave a comment

Ask Your question

Privacy policy Terms and Conditions