I know that some programming languages require methods that are referenced/called by other methods to be declared before the caller in the code. For example:
private Method1(in){
Return in *5;
}
Private Method2(paycheck){
Return Method1(paycheck);
}
would be OK but,
Private Method1(paycheck){
Return Method2(paycheck);
}
Private Method2 (in){
Return in *5;
}
Would fail.
Is Java, and/or Android specific Java, one of these languages?