answersLogoWhite

0

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.

User Avatar

Wiki User

17y ago

What else can I help you with?

Related Questions

What is the difference between read and readline in java?

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


When was GNU readline created?

GNU readline was created in 1989.


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.


What is difference between as on and as at?

difference between as on and as at


What is the meaning of bufferedreader?

BufferedReader br = new BufferedReader- can readline and close Java closes when the program terminates but you should always close the file.


How do you find odd numbers between two numbers in java?

import java.io.*; class aeven { public static void main(String[] args) { try{ BufferedReader br1 = new BufferedReader(new InputStreamReader(System.in)); System.out.println("Enter 1st number : "); int num1 = Integer.parseInt(br1.readLine()); System.out.println("Enter 2nd number : "); int num2 = Integer.parseInt(br1.readLine()); System.out.println("Odd Numbers : "); for (int i=num1;i <=num2 ; i++) { if(i%2!=0 ) { System.out.print(i+ ", "); } } } catch(Exception e){} } }


What are the differences between California and Florida?

What is the difference between Florida and California What is the difference between Florida and California


What is the difference between physician and doctor?

what's the difference between physician and doctorwhat's the difference between physician and doctor what's the difference between physician and doctor


What difference between paging?

Difference between paging and what?


What is the difference between difference and difference?

just difference


What is the difference between an enterprise and association what is the difference between an pvt ltd and ltd.?

difference between enterprise and corporation


What is the difference between a samurai and shogun?

The difference between a shogun and a samurai is like the difference between a king and a knight.