Call by reference or Call by value in JAVA | Techbirds
Hi all, This has always been a topic of discussion whether Java passes its parameter through call by reference or call by value. In 1 Line Call by Value. This question aroused from c/c++ parameter passing methodologies i.e. if in a function we pass a value then it is pass by value. for ex. public