fork download
  1. /* package whatever; // don't place package name! */
  2.  
  3. import java.io.*;
  4.  
  5. /* Name of the class has to be "Main" only if the class is public. */
  6. class Ideone
  7. {
  8. public static void main (String[] args) throws java.lang.Exception
  9. {
  10. System.out.println("The Java Walker Texas Ranger Program");
  11. String x = "Walker Was Injured On The Job";
  12. System.out.println(x);
  13. String y = "Walker Is Currently Blind.";
  14. System.out.println(y);
  15. String z = "Walker Got His Sight Back";
  16. System.out.println(z);
  17. }
  18. }
Success #stdin #stdout 0.12s 54580KB
stdin
1
2
10
42
11
stdout
The Java Walker Texas Ranger Program
Walker Was Injured On The Job
Walker Is Currently Blind.
Walker Got His Sight Back