Sorry my mistake. I forgot the important point that declaring is a way of telling the JVM that the objects of this class is serializable.But then I had selected Compilation fails as basically we don't select static instances for for writng to the file that is. I don't know even i got it wrong
[ SCJP 6.0 - 90% ] , JSP, Servlets and Learning EJB.
Try out the programs using a TextEditor. Textpad - Java 6 api
This question is initially designed for the serialization of Forest instance, and it has been changed with the new release. That's the problem with this question
For this question, if the Tree is-a Serializable, you can serialize it even the variable 'tree' is static.
Static variables are implicitly transient - that's true, but it will not apply here, because we are serializing the object of the tree variable directly.
Ok i thought something else will be there So asked.....well i tried out examlab final and it was tough real tough....i just need to take care on my silly mistakes for questions like false and not true. Devaka great prep mock.
Yeah well i am a student too..... I used to work using c and C++ and for web dev php and mysql. Got back to java after a year now. Well but java is really better once you know the things. Specially i like java for their thread usage in multicore technologies.