query: Why the output of the following code is still "Java" even though objects are passed by reference not value?
positive_passages.docid: 599
positive_passages.text: Is Java "pass-by-reference" or "pass-by-value"?
negative_passages.docid: 112328
negative_passages.text: Error: "an object reference is required for the non-static field, method or property..."
negative_passages.docid: 14596
negative_passages.text: Are PHP Variables passed by value or by reference?
negative_passages.docid: 87005
negative_passages.text: Why must the copy assignment operator return a reference/const reference?
negative_passages.docid: 66617
negative_passages.text: My java code has an obvious error. Why does it compile and run?
negative_passages.docid: 142913
negative_passages.text: How do you get the "object reference" of an object in java when toString() and hashCode() have been overridden?
negative_passages.docid: 11951
negative_passages.text: Should I use properties or direct reference when accessing instance variables internally?
negative_passages.docid: 56606
negative_passages.text: Why is main() in java void?
negative_passages.docid: 122528
negative_passages.text: How do I copy an object in Java?
negative_passages.docid: 44037
negative_passages.text: Are arrays or lists passed by default by reference in c#?
negative_passages.docid: 33243
negative_passages.text: Self-references in object literals / initializers
negative_passages.docid: 6233
negative_passages.text: Why does list(my_list) modify the object?
negative_passages.docid: 66336
negative_passages.text: Why copy constructor is not called in this case?
negative_passages.docid: 37883
negative_passages.text: Java String variable setting - reference or value?
negative_passages.docid: 47542
negative_passages.text: How come this is happening in java?
negative_passages.docid: 48470
negative_passages.text: Integer wrapper class and == operator - where is behavior specified?
negative_passages.docid: 149735
negative_passages.text: Are objects in PHP passed by value or reference?