class DataClass{ public static void main(String[] args){ System.out.println("Here is some text."); } }
Using the pre element you can display text however you want with all the spaces and line breaks preserved.