Why wont this code run?
<p>Ultra java noob here, I am sure its probably a silly mistake. Some care to correct me? </p>

<pre><code>public class Test1 {

/**
 * @param args the command line arguments
 */
public static void main(String[] args) {
    // TODO code application logic here
int n = 4;

public void f(int n){
 System.out.print(n);
 if(n&lt;=1)
  return;
  else{
      f(n/2);
      f(n/2);
      }
   }
 }
</code></pre>

<p>I'm getting this error:</p>

<pre><code>Exception in thread "main" java.lang.RuntimeException:
Uncompilable source code - illegal start of expression at the
public void f(int n)
</code></pre>
