I have a Person object with 5 variables and I want to store
them in a file called Person.txt. What should I do?
Answer Posted / puneet
outpurstreamobject.writeobject(object o);
flush//;
close//;
Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is the major drawback of internal iteration over external iteration?
What is difference between path and classpath in java?
Which is better 64 bit or 32 bit?
Is 9 a prime number?
Is string is a data type?
What is a void in java?
Do you know why doesn't the java library use a randomized version of quicksort?
What is the use of math abs in java?
Should a main method be compulsorily declared in all java classes?
What is a java developer salary?
Discuss 2D arrays.
How can you avoid serialization in child class if the base class is implementing the serializable interface?
Can you call one constructor from another if a class has multiple constructors?
How will you get the platform dependent values like line separator, path separator, etc., ?
What is static import in java?