Store \ in java string variable(Special Character) : <h1>I want to store \ in a string variable #</h1>

<p>String var= "\" ;</p>

<pre><code>public class Main
{
    public static void main(String[] args) {
        String var="\"
        System.out.println(var);
    }
}
</code></pre>
