What is the return type of read()?

Answers were Sorted based on User's Feedback



What is the return type of read()?..

Answer / ranganathkini

The default read() of a stream method returns an int

Is This Answer Correct ?    6 Yes 0 No

What is the return type of read()?..

Answer / vijayakumar chinnasamy

the return type of read() is int. It return -1 then it
reach the end of line.

Is This Answer Correct ?    6 Yes 0 No

What is the return type of read()?..

Answer / ravi shankar sharma

int

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Core Java Interview Questions

What are the basic concepts of OOPS in java?

1 Answers   Axtria, ITC Indian Tobacco Company,


What does the exclamation mark mean in java?

1 Answers  


wahts is mean by thread?

22 Answers   HCL, TCS,


how to write a server program and sending the mails to the server using smtp protocol please help me

1 Answers   Lampex,


Explain the importance of throws keyword in java?

1 Answers  


where to use join method and explain with real time senario?and programatical explenation also..

1 Answers   TCS,


What is the purpose of skeleton and stub?

1 Answers  


What is the difference between private & public & friendly classes?

1 Answers  


What Method and class used for Connection pooling ?

5 Answers   TCS, Wipro,


What do you mean by ordered and sorted in collections in java?

1 Answers  


What is the range of the short datatype?

2 Answers  


Why are functions called methods in java?

1 Answers  


Categories