answersLogoWhite

0


Best Answer

It depends on the context, but generally read() will return a single byte of data from a Reader or InputStream, while readLine() will read characters from a Reader until a newline is found.

and this method is deprecated now.and this is a method of DataInputStram class

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between read and readline in java?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Algebra

When you read Fx aloud can you can shorten it to F of x?

Yes, when you read Fx aloud can you can shorten it to F of x.


What axis do you read first on a graph?

The x axis is read first when plotting points in the form (x,y) on the xy-plane.


How do you get from a decimal to a fraction?

you write it the way you read it


What is the answer to the analogy read is to map as travel is to what?

route


What is The difference between Decision Altitude and Decision Height?

Altitude is measured above sea level, Height is measured above ground level. An example would be an airfield that is on a hill would have and altitude of however many feet it is above sea level, where as it would have a height of 0ft, no matter how far above the sea level it is. Now a Decision Altitude is used for a precision approach ie an ILS or MLS. So for example the standard minimum Decision Height (ie above the airfield) for a Cat I approach is 200ft. Say for example that airfield was itself on a hill that was 500ft above sea level the DH would remain 200ft but the DA would be 500ft + 200ft = 700ft. If you had two altimeters on the flight deck one set to QNH ( the pressures setting at sea level) and one set to QFE (the pressure setting at the airfield) when you arrived at the Cat 1 minima the QFE altimeter would read 200ft and the QNH altimeter would read 700ft. Now if the question is actually what is the difference between Decision Altitude (DA) and Minimum Decision Altitude (MDA) the answer is sightly different. A DA is as answered above and is used on a Precision Approach (ie ILS) and the MDA is used on a Non Precision Approach (ie Loc, GP, VOR, NDB)

Related questions

What is the difference between readline and readkey?

Read key is able to read one char symbol aka key. Read is able to read many symbols for one time, it reads up to that moment when it finds new line symbol or other specific manipulation instructions.


What is the difference between a readline statement and a writeline statement?

The readline statement method of programming will allow for the next statement in the sequence to be read. The writeline method of programming only allows for the current statement or sequence to be read after determining the end of the last line.


How read xml file in java?

Java provides several XML Parsers like DOM, SAX or JDOM and API javax.xml.parsers by using those we can easily read xml files in Java. DOM is quickest and easiest way to read XMlL file in Java.


Can vista read java?

Yes. Due to Java being an interpreted language, almost any system can read it. In fact, I'm running vista with java right now.


What is the difference between File Reader and FileInputStream in java?

FileReader used to read the character stream in the file.i.e a file that contanis only the character means FileReader is the choice to read the file.On the other hand if the file contains image,byte like raw data format means FileInputStream is the choice to read the data in the file,.


Write a statementin a java program to read 2 integers and dispay the number of interagers between them?

a=153 a=n%10;


How you use java?

Hi You should read Java API , there is every thing that you need.


What is the difference between aerobic and anaerobic treatment of waste materials?

The difference is that ,,,You have to read the book!


What is java bar code reader?

Java barcode reader is barcode reader in java applications which can read out the information encoded in the barcode.


Can i read value in JAVA at runtime?

Yes you can...


What is the primary difference between an annuity and a compound annuity?

difference between an annuity and a compound annuity?Read more: What_is_the_primary_difference_between_an_annuity_and_a_compound_annuity


What is difference between usage world and subject world?

What is difference between usage world and subject world?Read more: What_is_difference_between_usage_world_and_subject_world