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.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
5 views2 pages
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.