In Java, what happens when you have a method with an unspecified visibility keyword?
<p>I have been working with android for a few years now, not once have I had a teacher or anyone to tell me what to do. 
This whole time I have wondered to myself this.</p>

<p>When you have a method I generally see...</p>

<pre><code>public void method(){
//Stuff
}
</code></pre>

<p>or</p>

<pre><code>private void method(){
//stuff
}
</code></pre>

<p>I know that a void is a method with no return value, and that public is the visibility of the method in a way but would it matter if I just used something like this...</p>

<pre><code>void method(){
//stuff
}
</code></pre>

<p>Because then the methods visibility would just be default anyway?</p>

<p>I have no idea if I am right or not, is it just good practice to specify "public" or "private" ?</p>
