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 do you mean by global variable?

522


How to pass arraylist to stored procedure in java?

540


What is a class in java?

578


What is sorting in java?

524


How to declare an arraylist in java?

480






How do I convert a numeric ip address like 192.18.97.39 into a hostname like java.sun.com?

598


Explain what are final variable in java?

570


How many bytes is a unicode character?

500


Can a class have multiple superclasses?

564


How are this() and super() used with constructors in java programming?

566


What is definition and declaration?

520


What is r * in math?

547


How can you say java is object oriented?

587


What are encapsulation, inheritance and polymorphism?

523


Can we write any code after throw statement?

599