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 a generic data type?

764


What is singleton math?

811


How to check if linked list contains loop in java?

666


What is the use of keywords in java?

787


What are the wrapped, classes?

814


List out benefits of object oriented programming language?

682


Why is a string immutable?

791


Where import statement is used in a java program?

836


Is 0 an irrational number?

835


What is the use of toarray () in java?

807


What are the data types supported by java?

766


Why 1 is not a prime number?

803


What is an object in java and how is it created?

846


Can a private method of a superclass be declared within a subclass?

763


What are the main uses of this keyword?

828