Adam Zedan wrote:just a thought Is there any way by which i can pass primitive types by reference what do most most of the java gurus do to accomplish this??
No. In Java, references only points to objects. And primitives are not objects.
You can achieve this by having objects that contain primitives -- such as arrays of primatives or instances of classes that has instance variables of primative type.
Henry