Java support what type of parameter passing ?
Answers were Sorted based on User's Feedback
Answer / srikanth
Java supports always call-by-value.
|Is This Answer Correct ?||20 Yes||1 No|
Answer / pranab dutta
passed by value
|Is This Answer Correct ?||14 Yes||2 No|
Answer / johnjot
call by value only..when objects are passing as args, then
the reference is passed in by value..
|Is This Answer Correct ?||9 Yes||1 No|
Answer / chandrarekha
all the primitive or the simple datatypes(int,float,boolean
etc) are passed as call by value whereas the abstract
datatypes(class objects) are by call by reference.....
classA a=new classA();
call(a);//a is an object of classA
void call(classA x)
public static void main()
this is call by reference...
|Is This Answer Correct ?||9 Yes||2 No|
Answer / rajkumar ksr college
support const parameters like C++.
|Is This Answer Correct ?||3 Yes||1 No|
Answer / eesha
Please refer to:
|Is This Answer Correct ?||0 Yes||1 No|
What is sorting in java?
What is tree in java?
What is the current version of java?
Difference between throw and throws?
What will happen when using pass by reference in java?
Differentiate between class and structure.
Explain the difference between string, stringbuffer and stringbuilder in java?
What is the biggest integer?
What is super keyword in java ?
What is the advantage of functional interface in java 8?
How long will it take to learn java?
Why can't we make jsp as a controller and action servlet in struts?