Java is based on pass by reference or pass by value ..
Answer Posted / dheeraj pareek
Java is purely based on "Pass-by-value".
Variables are passed by value, and in case of Object, object reference is passed by value.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is constructor inherited?
Is multiple inheritance supported by java?
What are the different types of multitasking?
Which is the class in java?
What if static is removed from main method?
Do I need java for windows 10?
What is java argument list?
how would you implement a thread pool? : Java thread
What is a package in java? List down various advantages of packages.
What are the two types of java?
What do you mean by compiler?
Why we use protected in java?
What is an infinite loop in java? Explain with an example.
Explain try and catch keywords in java?
What is charat ()?