Error Message
Java Escape and Unescape
Java Escape is an easy online tool that works to escape plain Java to escaped Java. This tool also shows Java text in Java in <pre> tag. To achieve this copy the needed text paste into the provided box and escape.
The Features of the Java Escape
Java Escape is a handy tool that works to escape Java strings. This tool is fast and efficient. It gives room for Java string data URL loading which loads data and automatically escapes. Java string files can also be converted to escaped Java by simply uploading the file. Java Escape Online is compatible with MAC Windows Linux Chrome Firefox Edge and Safari.
Example
Java Try it.
import java.io.*; class MyFirstProgram { /** Print a hello message */ public static void main(String[] args) { BufferedReader in = new BufferedReader( new InputStreamReader(System. in)); String name = "Instructor"; System.out.print("Give your name: "); try { name = in .readLine(); } catch (Exception e) { System.out.println("Caught an exception!"); } System.out.println("Hello " + name + "!"); } }
Escaped Java
import java.io.*;\nclass MyFirstProgram {\n /** Print a hello message */\n public static void main(String[] args) {\n \tBufferedReader in = new BufferedReader(\n new InputStreamReader(System. in));\n \tString name = \"Instructor\";\n \tSystem.out.print(\"Give your name: \");\n \ttry {\n \t\tname = in .readLine();\n \t} catch (Exception e) {\n \t\tSystem.out.println(\"Caught an exception!\");\n \t}\n \tSystem.out.println(\"Hello \" + name + \"!\");\n }\n}