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

how to create daemon thread in java?

0 Answers  


What is the purpose of checked and unchecked exceptions in JAVA?

0 Answers   Amdocs,


Which containers use a flowlayout as their default layout in java programming?

0 Answers  


What is floating data type?

0 Answers  


Which class is the superclass of all classes?

0 Answers  






what are abstract functions?

0 Answers  


What is the maximum size of list in java?

0 Answers  


How big is a pointer?

0 Answers  


Give the difference between the println method and sqrt method?

0 Answers  


what is java bean?where can we use it?

12 Answers   TCS,


What is meant by data hiding in java?

0 Answers   Aspire, Infogain,


Can java program run without jre?

0 Answers  


Categories