Thanks to visit codestin.com
Credit goes to www.java2s.com
Home
Java
2D Graphics GUI
3D
Advanced Graphics
Ant
Apache Common
Chart
Class
Collections Data Structure
Data Type
Database SQL JDBC
Design Pattern
Development Class
EJB3
Email
Event
File Input Output
Game
Generics
GWT
Hibernate
I18N
J2EE
J2ME
JavaFX
JDK 6
JDK 7
JNDI LDAP
JPA
JSP
JSTL
Language Basics
Network Protocol
PDF RTF
Reflection
Regular Expressions
Scripting
Security
Servlets
Spring
Swing Components
Swing JFC
SWT JFace Eclipse
Threads
Tiny Application
Velocity
Web Services SOA
XML
Scanner « Development Class « Java
Java
Development Class
Scanner
1.
Read int by using Scanner Class
2.
Use Scanner to read user input
3.
Count all vowels inputed from keyboard
4.
Use Scanner to compute an average of the values
5.
Use Scanner to compute an average of the values in a file
6.
Use Scanner to read various types of data from a file
7.
Use Scanner to compute an average a list of comma-separated values
8.
Demonstrate findInLine()
9.
use Scanner to read input that contains several different types of data
10.
Letting the user decide when to quit
11.
Test the input string in the while condition.
12.
This program demonstrates console input.
13.
Reading double value from console with Scanner