KnowledgeBoat Logo
|

Computer Applications

Differentiate between the following:

nextInt( ) and nextFloat( ) methods

Input in Java

116 Likes

Answer

nextInt( )nextFloat( )
Scans the next token of input as an intScans the next token of input as a float

Answered By

76 Likes


Related Questions