Answer Posted / navinice
by default all objects of classes are serialized.
there are some premitive datatypes in objects which needs
not to persistence. Then These variables are declared as
transient variable by Using Transient keyword.
for example........
class abc{
private String firstName;
private transient String middleName;
private String lastName;
method()
}
Njoy >>>>>>>>>>NaviNice<<<<<<<<<
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is the use of arraylist in java?
What is the += operator called?
What is printwriter in java?
How does thread synchronization occurs inside a monitor? What levels of synchronization can you apply?
What is a function in programming?
Can list be null in java?
What is the access scope of protected access specifier?
Can java program run without jre?
Why does java not support operator overloading?
What access modifiers can be used for variables?
Suppose if we have variable ' I ' in run method, if I can create one or more thread each thread will occupy a separate copy or same variable will be shared?
What are the legal parameters?
What is the difference between a choice and a list?
How does linkedlist work in java?
A person says that he compiled a java class successfully without even having a main method in it? Is it possible?