What is considered whitespace?
Author: Deron Eriksson
Description: This Java tutorial describes what is whitespace in Java.
Tutorial created using: Windows XP || JDK 1.6.0_10

According to the JavaSW Language Specification, whitespace in Java consists of the ASCII space character (SP), the ASCII horizontal tab character (HT), the ASCII formfeed character (FF), and line terminators.

Line terminators consist of the ASCII newline character (LF), the ASCII carriage return character (CR), and the ASCII carriage return character followed by the ASCII newline character.