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

Write a factorial program using recursion in java?

504


What is the difference between an interface and an abstract class?

528


What is a parameter example?

518


What is a pointer and does java support pointers?

548


Difference between arraylist and hashset in java?

533






Why is a singleton bad?

549


Which class is the superclass of all classes?

593


What is the synonym of framework?

555


What do you mean by pointer value and address?

569


What is the difference between an array and an array list?

495


what is the purpose of the wait(), notify(), and notifyall() methods? : Java thread

551


What is a nested list?

511


Can you access non static variable in static context?

549


How many types of gc are there in java?

552


Why string is not thread safe?

527