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
Can two objects have same hashcode?
What is difference between iterator and enumeration in java?
What are new features introduced with java 8 ?
What is meant by data hiding in java?
Can java hashmap have duplicate keys?
Write java program to reverse string without using api?
What is function and method in java?
Which collections are thread safe in java?
What is a line separator in java?
What is integer size in java?
Difference between arraylist and vector.
What is static keyword?
What class of exceptions are generated by the java run-time system?
Difference between ‘>>’ and ‘>>>’ operators in java?
Can we override protected method in java?