query: What's the motivation for being able to assign a child class instance to base class variable in a stack frame?
positive_passages.docid: 3177
positive_passages.text: What is object slicing?
negative_passages.docid: 31826
negative_passages.text: Does changing the return type of a function for a child type breaks binary compatibility?
negative_passages.docid: 59941
negative_passages.text: Why can't a class extend its own nested class in C#?
negative_passages.docid: 1138
negative_passages.text: How to avoid having class data shared among instances?
negative_passages.docid: 113556
negative_passages.text: How is an instance initializer different from a constructor?
negative_passages.docid: 13936
negative_passages.text: What is the difference between class and instance attributes?
negative_passages.docid: 14801
negative_passages.text: templates: parent class member variables not visible in inherited class
negative_passages.docid: 9620
negative_passages.text: Class members allocation on heap/stack?
negative_passages.docid: 85333
negative_passages.text: How do I call a parent class's method from a child class in Python?
negative_passages.docid: 57903
negative_passages.text: Is it possible to recursively instance object particles?
negative_passages.docid: 4622
negative_passages.text: How do I decorate an instance method with another class in Python 2.7?
negative_passages.docid: 36028
negative_passages.text: Is it possible to call subclasses' methods on a superclass object?
negative_passages.docid: 127599
negative_passages.text: Odd situation for "cannot reference this before supertype constructor has been called"
negative_passages.docid: 25266
negative_passages.text: What fields can a nested class access of the class it's nested in?
negative_passages.docid: 34204
negative_passages.text: Difference between class variables and class instance variables?
negative_passages.docid: 73291
negative_passages.text: How to use a member variable as a default argument in C++?
negative_passages.docid: 30111
negative_passages.text: Derived template-class access to base-class member-data