In Serialization, whether you will use Static variables?

Answer Posted / krishna

We cannot serialize the static variables

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we increase size of array?

565


Can a class be defined inside an interface?

562


Can you make a constructor final in Java?

625


What is bigger kb or mb?

583


what is comparable and comparator interface?

574






What is sorting algorithm in java?

521


How do you create immutable object in java?

535


If an object is garbage collected, can it become reachable again?

542


What is the purpose of using java.lang.class class?

524


What is the java project architecture?

1786


What is a class instance variable?

615


What is scope & storage allocation of global and extern variables? Explain with an example

579


Explain a situation where finally block will not be executed?

571


What is the inheritance?

549


What is the basic difference between string and stringbuffer object?

578