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
Explain the difference between protected and default access.
How many digits can a float hold?
What are the advantages of defining packages in java?
Which class cannot be a subclass in java?
Describe method overriding
Difference between doublesummarystatistics, intsummarystatistics and longsummarystatistics ?
What is integer parseint?
What happens if I remove static from main method?
What is difference between classpath and path variables in java?
What does ide stand for?
What is the need of transient variables in Java ?
Why arraylist is used in java?
How do you use find and replace?
What is the use of list in java?
Should a main method be compulsorily declared in all java classes?