Java methods flow
<p>I'm trying to learn how to program on android which of course uses Java. I understand Java vaugely, but this confuses me.</p>

<p>A method which I view as a function (PHP being my native programming language) can seemingly be declared anywhere in a java file and still be pulled out at any other point is this so? What I mean is in PHP you have to define a function(method) to then be able to call it. So everything has to be in order.</p>

<p>Also is calling a function like including that section of code in your method calling it. Example being:</p>

<p>method 1 contains opendb command
method 2 contains closedb command
oncreate method calls method 1 then 2 does it act accordingly.</p>

<p>Sorry may sound dumb but I like concrete answers and not assumptions of mine.</p>
