title: Why does this code, written backwards, print "Hello World!"
body: <p>Here is some code that I found on the Internet:</p>
  
  <pre><code>class M‮{public static void main(String[]a‭){System.out.print(new char[]
  {'H','e','l','l','o',' ','W','o','r','l','d','!'});}}    
  </code></pre>
  
  <p>This code prints <code>Hello World!</code> onto the screen; you can see it run <a href="http://ideone.com/4heX2G" rel="noreferrer">here</a>. I can clearly see <code>public static void main</code> written, but it is backwards. How does this code work? How does this even compile? </p>
  
  <p><strong>Edit:</strong> I tried this code in IntellIJ, and it works fine. However, for some reason it doesn't work in notepad++, along with cmd. I still haven't found a solution to that, so if anyone does, comment down below.</p>