Let the file pointer is at the end of 3rd line in a text file named “data.txt”. Which of the following option can be used to read all the remaining lines?
Let the file pointer is at the end of 3rd line in a text file named “data.txt”. Which of the following option can be used to read all the remaining lines?
1.f.read( )
2.f.read(all)
3.f.readline( )
4.f.readlines( )
Answer:4
Posted Date:-2021-12-11 23:16:06
More MCQS Questions and answers
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!