Answer Posted / glibwaresoftsolutions
If we don't want to save the value of a certain variable in a file during serialization, we use the temporary keyword. The default value of that variable data type is saved by JVM when it encounters a temporary keyword, disregarding the variable's initial value.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
explain different ways of using thread? : Java thread
Difference between character constant and string constant in java ?
Write a program to print 15 random numbers using foreach of java 8?
What is string length in java?
How many types of variables are there?
Can a static method be final?
Can we assign the reference to this variable?
Why local variables are stored in stack?
What is generic class?
What is difference between hashset and hashmap?
What do you know about the garbate collector?
What are the two types of streams offered by java 8?
What are the access modifiers available in java?
How thread scheduler schedule the task?
Why string is immutable with example?