Skip to main content
deleted 23 characters in body
Source Link

I1.I hope m and n are using pass by values uses pass by values.

Instead try using pass 2.Instead use Pass by reference for doing soReference.To do Pass by Reference in javaJava, it has to be object in which case instead of declaring it as integer variablea Java Object. make it integer:

m= new Integer();3.So create new Integer object m=new Integer();.

I hope m and n are using pass by values.

Instead try using pass by reference for doing so in java it has to be object in which case instead of declaring it as integer variable make it integer:

m= new Integer();

1.I hope m and n uses pass by values. 2.Instead use Pass by Reference.To do Pass by Reference in Java, it has to be a Java Object. 3.So create new Integer object m=new Integer();.

I hope mm and nn are using pass by values,.

Instead try using pass by reference for doing so in java it has to be object in which case instead of declaring it as integer variable make it Integer m= new Integer();integer:

m= new Integer();

I hope m and n are using pass by values, Instead try using pass by reference for doing so in java it has to be object in which case instead of declaring it as integer variable make it Integer m= new Integer();

I hope m and n are using pass by values.

Instead try using pass by reference for doing so in java it has to be object in which case instead of declaring it as integer variable make it integer:

m= new Integer();

Source Link

I hope m and n are using pass by values, Instead try using pass by reference for doing so in java it has to be object in which case instead of declaring it as integer variable make it Integer m= new Integer();