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

Answer Posted / sanket mehta

Java does not support call by reference because in call by reference we need to pass the address and address are stored in pointers n java does not support pointers and it is because pointers breaks the security. Java is always pass-by-value. Pass by reference in java means the passing the address itself

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is fastest collection in java?

566


What is difference between wait and notify in java?

548


Is java pass by value or pass by reference?

541


what r advatages of websphere? & how to deploy?

1640


Can we execute a program without main?

542






What is OOP Language?

631


Explain the difference between an object-oriented programming language and object-based programming language?

551


I am a fresher and know core java, c languge, html, css etc if I am illegible for any job then send it on my email tatranakshay276@gmail.com

1079


What are singleton services?

494


Can size_t be negative?

619


What is the meaning of 3 dots in java?

682


Is age discrete or continuous?

691


Can we create object of inner class in java?

496


What are the elements of java?

567


What is get () in java?

571