fork download
  1. /* package whatever; // don't place package name! */
  2.  
  3. import java.util.*;
  4. import java.lang.*;
  5. import java.io.*;
  6.  
  7. /* Name of the class has to be "Main" only if the class is public. */
  8. class Ideone
  9. {
  10. public static void main (String[] args) throws java.lang.Exception
  11. {
  12. // your code goes here
  13. String s = "g\\gh";
  14. // InputStreamReader ip = new InputStreamReader(System.in);
  15. // BufferedReader reader = new BufferedReader(ip);
  16. // s = reader.readLine();
  17. System.out.println(s);
  18. double a = 12.12.2;
  19. System.out.println(a);
  20. }
  21. }
Compilation error #stdin compilation error #stdout 0.1s 55208KB
stdin
gh\\gh
compilation info
Main.java:18: error: ';' expected
		double a  = 12.12.2;
		                 ^
1 error
stdout
Standard output is empty