Explain pass by reference and pass by value?
Answer Posted / srikanth doki
Passing the reference of the variable rather than passing
the value is known as Pass-by-reference and Passing the copy
of value is known as Pass-by-value.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What carriage return means?
Difference between static binding and dynamic binding?
What happens if a constructor is declared private?
What are parameters in a method?
What is comparator in java?
How does multithreading take place on a computer with a single cpu?
Why is java logo a cup of coffee?
what is comparable and comparator interface?
What are implicit objects in java?
Why java is used everywhere?
What is join () in java?
What is meant by binding in rmi?
Can we make a constructor final?
What are green threads in java?
how a programmer confirms that the data submitted has been succesfully inserted into the database(either oracle or my sql).. How a programmer confirm if there is any problem with the program he wrote for insertion... ANS:--- >executeupdate method is having boolean return type, if anything goes wrong in data insertion or data updation, it would return false. otherwise, if it successfully inserts data into the database, it would return true NOW HOW TO I CHECK IN MY DURING EXECUTION WHETHER IT RETURNS TRUE OR FALSE... WELL IT WILL DISPLAY ANY MESSAGE OR NOT