is java support call by reference and call by value, if
supports please explain?
Answer Posted / renjit mathew
ya java support both.In java when u pass a single type to a
method it passes by value.
Call By Reference:-In java objects are passed by
reference.when you create a variable of a class type,you are
only creating a reference to an object.when you pass this
object to a method the parameter that receives it will refer
to the same object as that refered by the argument
| Is This Answer Correct ? | 9 Yes | 10 No |
Post New Answer View All Answers
Can a function return a function?
What does string [] args mean?
List the features of java programming language.
Does every java program need a main?
Why webdriver is an interface?
Is integer passed by reference in java?
How do you join strings in java?
Write code of any action class?
Is there any difference between synchronized methods and synchronized statements?
What is map and hashmap in java?
Which java ide is used the most?
How to sort array of 0 and 1 in java?
What is the += operator called?
What all methods are used to prevent thread execution ?
Write down program for following scenario. Use java coding standard. You have array list with some words in it..we will call it as dictionary….and you have a arbitrary string containing some chars in it. You have to go through each word of dictionary and find out if that word can be constructed with the help of chars from arbitrary string given. If you find the word print it else print none.