Nuacht
Read a line of text with the Scanner as you normally would do. Change the Scanner’s delimiter to an empty set of double quotes, "". Convert each single-character to a char with the charAt(0) method.
Cuireadh roinnt torthaí i bhfolach toisc go bhféadfadh siad a bheith dorochtana duit
Taispeáin torthaí dorochtana