What is the return type of read()?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is floor in java?

556


Why are the methods of the math class static?

576


What is append in java?

629


1.IN CASE OF DYNAMIC METHOD DISPATCH WHY WE USE REFERENCE VARIABLE,WE CAN USE THE DIFFERENT DEFINED OBJECT DIRECTLY TO ACCESS THE DATA MEMBER AND MEMBER FUNCTION OF THAT RESPECTIVE CLASS?WHAT IS THE MAIN FUNCTION OF "REFERENCE VARIABLE" HERE?

3790


In which order the iterator iterates over collection?

581






Can you add null to a list java?

583


Explain java coding standards for classes or java coding conventions for classes?

612


Why constructor has no return type?

636


What if I write static public void instead of public static void in java?

577


What is the maximum size of byte array in java?

539


Explain what access modifiers can be used for methods?

566


Does constructor return any value?

578


How do you print array in java?

552


What is supplier in java?

556


How do you delete a list in java?

534