![]() Related Questions As of now ,what i know abt cloning is that we can make a field to field copy of an object.ie when we As of now ,what i know abt cloning is that we can make a field to field copy of an object.ie when we clone an object,its state as well as a its behaviour is copied to the cloned object.My question is what is the neccesity of it? cant we create another object of the same class? so how does its different from cloned object (that is creating another object of that class rather than being cloned).is there any security issues coupled with this cloned object? And What is the Concrete purpose of Latest Answer : Serialization is a techniques which maintain the state of the object.In java automatically call the destructer and destroy the object by the gc()method.We want to my object state can be maintain so we use the concept of serializationFor ExampleSuppose ... Latest Answer : You can use the keyword transient, for which you don't want to be serialized. ... Latest Answer : Serializability of a class is enabled by the class implementing the java.io.Serializable interface. Classes that do not implement this interface will not have any of their state serialized or deserialized. All subtypes of a serializable class are themselves ... We have checked on field is empty in the form we want to move the cursor to that field how it is possible? Latest Answer : u can focus on any textField through javascript. ... Latest Answer : Sorry, it should betextfield.requestFocusInWindow(); ... Write a program using servlets that will take a numeric input on page named index page, if the input Write a program using servlets that will take a numeric input on page named index page, if the input is 1 then page 1 will be displayed and if input is 2 thepage2 will be displayed. The index page will contain an input field and a button. When the button will be clicked then on the basis of input (1 or 2) the respective page will be opened. The newly opened page i.e. page1 or page2 View Question | Asked by : sia length
Sponsored Links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||