no ordinary "function" in java?
<p>in php you can declare a function in a global scope with function.</p>

<p>is this not possible in java? looks like every function is in a class as a method. so everything is OOP in java? no procedural code?</p>
