query: superclass object or subclass object? why?
positive_passages.docid: 855
positive_passages.text: What does it mean to "program to an interface"?
negative_passages.docid: 81709
negative_passages.text: Static nested class in Java, why?
negative_passages.docid: 13936
negative_passages.text: What is the difference between class and instance attributes?
negative_passages.docid: 137541
negative_passages.text: class variable vs instance variable --Python
negative_passages.docid: 60540
negative_passages.text: Should I instantiate instance variables on declaration or in the constructor?
negative_passages.docid: 37285
negative_passages.text: Should the call to the superclass method be the first statement?
negative_passages.docid: 124515
negative_passages.text: Java: Non-static nested classes and instance.super()
negative_passages.docid: 117996
negative_passages.text: Do Sub-Classes Really Inherit Private Member Variables?
negative_passages.docid: 5495
negative_passages.text: Is List a subclass of List? Why are Java generics not implicitly polymorphic?
negative_passages.docid: 128058
negative_passages.text: Why java.lang.Object is not abstract?
negative_passages.docid: 100409
negative_passages.text: When to use an object instance variable versus passing an argument to the method
negative_passages.docid: 2441
negative_passages.text: Understanding Python super() with __init__() methods
negative_passages.docid: 50570
negative_passages.text: When to use an interface instead of an abstract class and vice versa?
negative_passages.docid: 139848
negative_passages.text: Why is multiple inheritance not supported in most of programming language?
negative_passages.docid: 1099
negative_passages.text: Prefer composition over inheritance?
negative_passages.docid: 156773
negative_passages.text: What is the difference between a.getClass() and A.class in Java?
negative_passages.docid: 71246
negative_passages.text: super() in Java