Java is based on pass by reference or pass by value ..

Answer Posted / arun

Java is actually pass-by-value for all variables running
within a single
VM. Pass-by-value means pass-by-variable-value. And that
means, pass-by-copy-of-
the-variable!

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we execute a program without main?

541


What is the maximum size of byte array in java?

542


How do you reverse sort a list in java?

517


Write a program to find the greatest of three numbers in java?

565


What is the unit of plancks constant?

574






What do you mean by an interface in java?

574


What is the map interface in java programming?

588


How to split arraylist elements in java?

605


Is java call by reference?

534


What are the new features in java 8? Explain

562


Program to Find the second largest element in an array.

591


Does A Class Inherit The Constructors Of Its Superclass?

538


Why are the objects immutable in java?

549


What is comparable and comparator interface? List their differences

581


What is matcher in java?

519