Recommended Answers
Jump to PostYes, Java always passes parameters by value.
But sorry, your question is not clear. Please explain exactly what you want to know.
Jump to PostUnder the covers, all Java objects are references. When you assign one variable to another, the reference is copied, not the object's data. At that point, both variables hold a valid reference to the the object and the actual object data cannot be garbage-collected until both variables are cleared (set …
Jump to PostWe are all guilty of speaking a kind of shorthand about objects and variables. Most of the time it's OK, but when we talk of call by value etc it really matters.
An object is an object. A variable is not an object and an object is not a variable.
…
Jump to PostI just want to start in right way how to start by giving my giving effort
Excellent. Glad you want to show efffort and start off on the right foot. However, your posts are coming off as a bit demanding and vague. Not saying that was your …
All 14 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.