Error when making class protected
<p>I am getting the error "Remove invalid modifier" when I use the <code>protected</code> keyword on class Zoo. </p>

<pre><code>protected class Zoo {
   int  x=5;
 String  coolMethod() {
return "Wow baby";
}

 static Test t=new Test();
}
public class Test {

public static void main(String args[]) {
    Test zoo=new Test();
    //System.out.println(zoo.coolMethod()); 
    //System.out.println(x);

    //t.useMyCoolMethod();
    //Testing v=new Testing();
    //System.out.println(v.getValue());
    }
</code></pre>

<p>How can I fix this?</p>
