Java - How Passing By Reference Works?

Published: 21 April 2021
on channel: Brown Coder
78
9

when a reference of a variable is passed to a method then it is known as pass by reference and When the values of parameters are copied into another variable, it is known as pass by value.

In case of Java, we there is no concept of variable address, everything is based on object. So either we can pass primitive value or object value during the method call.

00:00 Introduction
00:27 Writing Source code
02:05 Object is a Reference Variable
02:55 How to Use Reference Variable?
05:35 Conclusion

Need Your Support
Like Subscribe and Share


On this page of the site you can watch the video online Java - How Passing By Reference Works? with a duration of hours minute second in good quality, which was uploaded by the user Brown Coder 21 April 2021, share the link with friends and acquaintances, this video has already been watched 78 times on youtube and it was liked by 9 viewers. Enjoy your viewing!