Monthly Archives: August 2014

Call by value Vs Call by Reference

Call by value Vs Call by Reference: Call by value: public class CallBy_Value { public static void main(String[] args) { Value v = new Value(10,20); System.out.println(“a and b before call…………”); System.out.println(“a = “+v.a); System.out.println(“b = “+v.b); v.call(v.a,v.b); // CALL BY … Continue reading

Posted in Core Java | Tagged , , | Leave a comment