query: If I pass an object to a constructor and then modify that object, will it modify the original? Why?
positive_passages.docid: 599
positive_passages.text: Is Java "pass-by-reference" or "pass-by-value"?
negative_passages.docid: 48204
negative_passages.text: Why can a constructor only return an object?
negative_passages.docid: 28802
negative_passages.text: Is Ruby pass by reference or by value?
negative_passages.docid: 144718
negative_passages.text: Methods With Same Name as Constructor - Why?
negative_passages.docid: 2863
negative_passages.text: How do I correctly clone a JavaScript object?
negative_passages.docid: 78122
negative_passages.text: What's the behavior of an uninitialized variable used as its own initializer?
negative_passages.docid: 77781
negative_passages.text: Is passing pointer argument, pass by value in C++?
negative_passages.docid: 91850
negative_passages.text: Will an 'empty' constructor or destructor do the same thing as the generated one?
negative_passages.docid: 53545
negative_passages.text: Do I need to synchronize access to immutable types in Java?
negative_passages.docid: 54146
negative_passages.text: Does calling clone() on an array also clone its contents?
negative_passages.docid: 3868
negative_passages.text: Why use the 'ref' keyword when passing an object?
negative_passages.docid: 816
negative_passages.text: What is the difference between a variable, object, and reference?
negative_passages.docid: 84481
negative_passages.text: Pass parameters to constructor when using System.Type.newInstance()
negative_passages.docid: 85281
negative_passages.text: Are there any issues with allocating memory within constructor initialization lists?
negative_passages.docid: 96819
negative_passages.text: How do getters and setters work?
negative_passages.docid: 19015
negative_passages.text: When do we need to have a default constructor?
negative_passages.docid: 1215
negative_passages.text: List changes unexpectedly after assignment. Why is this and how to prevent it?