Sail E0 Webinar
Question
Choose the output returned when read() reads the character from the console?
Options:
A .  String
B .  Char
C .  Integer
D .  Boolean
Answer: Option C


Read() returns the character read from the console. It returns the result. The character is returned as an int, which should be cast to char.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers