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
Formatted IO « Language Basics « Java
Java
Language Basics
Formatted IO
1.
Formatted Input output: A very simple example that uses Formatter.
2.
Demonstrate the format specifier.
3.
Formatting time and date.
4.
Demonstrate the format specifiers 2.
5.
Demonstrate a field-width specifier.
6.
Java Formatter: Create a table of squares and cubes.
7.
Java formatted IO: the precision modifier.
8.
Java formatted IO: the left justification.
9.
Java formatted IO: the space format specifiers.
10.
Use arguments indexes to simplify the creation of a custom time and date format.
11.
Java formatted IO: Demonstrate printf().
12.
Java formatted IO: Use Scanner to compute an average of the values.
13.
Java formatted IO: Use Scanner to compute an average of the values in a file.
14.
Use Scanner to read various types of data from a file.
15.
Use Scanner to compute an average a list of comma-separated values.
16.
Java formatted IO: findInLine().
17.
Java new formatted IO : format tester