write the syntax to accept the string by using stream class
Answers
Answered by
0
Answer:To accept a fractional value (float) 'm' through Scanner class. m = sc. nextFloat(); To accept a character 'd' through Stream class.
Explanation:
Similar questions