Why transient variables wont participate in serialization?
Answers were Sorted based on User's Feedback
Answer / krishna
transient variables allocates memory inside the object
| Is This Answer Correct ? | 4 Yes | 2 No |
Answer / shrinu nallavelli
transient means not to serialize.. whenever we declare a
variable as trancient it won't send the original value ,only
sends the default value..
purpose of this is to meet the security constraints...
| Is This Answer Correct ? | 0 Yes | 3 No |
What is covariant return type?
What is finally and finalize in java?
What is main method?
What are the advantages of functions?
What do you mean by boolean?
What is double data type?
Can we cast any other type to boolean type with type casting?
How many bytes is a string java?
What is double checked locking in singleton?
Can a method inside a interface be declared as final?
Hi.... I applied for the post of scientific officer/Engineer-SB(Programmer).Please post the syllabus and sample papers.
What is difference between core java and java ee?