Computer Science, asked by ydsjsjsfhitsut, 10 months ago

write a program in java to input no. with loop statement without break loop in buffered reader statement​

Answers

Answered by Anonymous
2

Answer:

In Computer Science, a file is a resource used to record data discretely in a computer’s storage device. In Java, a resource is usually an object implementing the AutoCloseable interface.

Reading files and resources have many usages:

Statistics, Analytics, and Reports

Machine Learning

Dealing with large text files or logs

Sometimes, these files can be absurdly large, with gigabytes or terabytes being stored, and reading through them in entirety is inefficient.

Being able to read a file line by line gives us the ability to seek only the relevant information and stop the search once we have found what we're looking for. It also allows us to break up the data into logical pieces, like if the file was CSV-formatted.

There are a few different options to choose from when you need to read a file line by line.

Similar questions
Math, 5 months ago