What is the difference of creating child class object and upcasting?
- SubClass sC = new SubClass(); // instantiating object
- SuperClass sC1 = new SubClass(); // Upcasting
What is the sense of the upcasting if you can access all functions in superclass and subclass when you create a subclass object?
 
    