Static Error: This class does not have a static void main method accepting String[]
<p>I'm learning, I'm newbie
but I wanted to know what I do to get "run" it.
this happening a error:</p>

<pre><code>Static Error: This class does not have a static void main method accepting String[].
</code></pre>

<p>This is the code:</p>

<pre><code>/**
 * @author "LionH"
 */
public class Caneirinho {

    public static void contar() {
        int i = 1;
        String a = " Carneirinho",
            b = " pulando a cerca.",
            c = "s";

        for (i = 1; i &lt;= 100; i++) {
            if (i == 1) {
                System.out.println(i + a + b);
            } else {     
                System.out.println(i + a + c + b);
            }
        }
    }
} // Carneirinho
</code></pre>
