Method Prototype In Java