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
Why put method is idempotent?
What interface is extended by awt event listeners?
If a class is declared without any access modifiers, where can the class be accessed?
What is the access scope of a protected method?
Difference between ‘is-a’ and ‘has-a’ relationship in java?
What is appletviewer?
What is locale in java?
What is the base class of all exception classes in java?
What is a lock or purpose of locks in java?
How can we make a class singleton?
What is the intersection and union methods?
Why we use multi threading instead of multiprocessing?
Explain the difference between comparator and comparable in java?
how to write a program for sending mails between client and server
How do you check if a string is lexicographically in java?