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 |
Q) I have a ArrayList object, in that object i have added 5 integer values, 5 float values, 5 string values. Now question is how can delete particular type of data ( i.e all int values or all float values or string values) in that list object at a time?
Can we overload the methods by making them static?
What is exception hierarchy in java?
What is join () in java?
Give few difference between constructor and method?
Explain notify() method of object class ?
How to call one constructor from the other constructor ?
What is a variable declaration?
What is linked hashset and its features?
how can we use the servlet as standalone apllication?should we need to extend any class?
Which oo concept is achieved by using overloading and overriding?
What technique can be employed to compare two strings?