Length Of Array Java Methods