In this tutorial we look at the difference between value types (primitives) and reference types (objects).
Primitives are passed by value, so when passed to a method, you aren't manipulating the original data, but a copy of that data.
Objects, on the other hand, are passed by reference, so you have the ability to change objects through that reference inside of methods.
On this page of the site you can watch the video online Java Programming: 10 - Reference and Value types with a duration of hours minute second in good quality, which was uploaded by the user CodeMonkeyCharlie 10 June 2011, share the link with friends and acquaintances, this video has already been watched 81,944 times on youtube and it was liked by 773 viewers. Enjoy your viewing!