Answer Posted / amit singh
ravikiran i think ur are getting wrong
is file is output stream i don't think so please checkit
out then some dont this enormous
without serializatio i will do safe object in outputstream
man think it ,because of ur think of seralization
i know dataoutputstream and objectoutputstream just help to
makeit possible not they are going to save its my pointof
view
without outputstream i will show u save the object in
outpurstream not in a file because u just not going to save
state of particular just going to save object think it
always some bookwriter in not true ha
amitsing2008@gmail.com mca(scjp1.5)an many more so
justthink it
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Define how can we find the actual size of an object on the heap?
Can an interface have a constructor?
What do you understand by garbage collection in Java? Can it be forced to run?
What is the difference between a synchronized method and a synchronized block?
What is java thread dump, how can we get java thread dump of a program?
What is a Transient Object?
Explain about the select method with an example?
What is the maximum size of a string in java?
Is there any difference between synchronized methods and synchronized statements?
Can static method access instance variables ?
What is java and why do we need it? Explain
What is function and its uses?
What are the types of methods in java?
What is the purpose of the system class in java?
What is java volatile?