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

Can we inherit a class with private constructor?

562


What are conditionals and its types?

573


What is lossy conversion in java?

550


Explain working of call by reference function invoking.

581


What technique is carried out to find out if a particular string is empty?

557






how to create multithreaded program? : Java thread

494


What is the public method modifier?

533


Is ++ operator is thread safe in java?

509


What is an off by one error in java?

489


Explain about interthread communication and how it takes place in java?

529


How many types of memory areas are allocated by JVM in java?

582


What about method local inner classes or local inner classes in java?

542


This abstract class is correct ? abstract class A { public abstract void Disp(); public abstract void B() { } public absract virtual C() { } }

553


What is Mutex (Mutual Exclusion Object) ?

617


What do you understand by copy constructor in java?

486