LIKE, SHARE & SUBSCRIBE
Pass By Value and Pass By Reference are used to provide data and values to our code and code segments.
In C & C++ both pass by value and pass by reference is allowed. But in Java, only pass by value is allowed.
Pass by reference is not allowed in Java because in Java memory allocation and memory management is done by JVM (Java Virtual Machine).
And JVM prohibits the user to access the memory address location of our code's variables and methods.
We can pass primitive data type, non-primitive data type and reference data type in our Java code.
Links of the Java codes used in the video :
Link : https://drive.google.com/open?id=1BDR...
Thanks for watching and stay tuned.
Like us on Facebook - https://goo.gl/y7oxYc
Follow us on Twitter - https://goo.gl/UKmTfn