is java support call by reference and call by value, if
supports please explain?

Answer Posted / deepa

java Supports Call by value as any C/C++ languages do.
It spports Call By Reference through objects,Since Java
Does not support Pointers.

Is This Answer Correct ?    29 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is role of void keyword in declaring functions?

681


Difference between current previous versions of Java?

649


What is singleton class example?

679


What is the difference between integer parseint and integer valueof?

641


What is user defined exception in Java?

709






What is mean by collections in java?

660


What is singletonlist in java?

591


Implement a stack with push (), pop() and min() in O(1) time.

717


What are the topics in advance java?

611


When object is created and destroyed?

732


What is a priority queue java?

601


Say any two properties in beans?

714


What is the use of join method?

667


What does sizeof return?

638


What is the static method?

649