The document shows a Java program that uses a Scanner to take user input of different data types including string, integer, character, float, double, long, short, byte, and boolean and then prints the values.
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
3 views
JAVA3
The document shows a Java program that uses a Scanner to take user input of different data types including string, integer, character, float, double, long, short, byte, and boolean and then prints the values.