2007 Jan 24 7:00 AM
my doubt is can we access the methods in super class after narrowing or upcasting.is it necessary to downcast after the upcast to access the super class methods
2007 Jan 24 11:18 AM
YES WE CAN ACCESS THE METHODS AFTER UPCASTING OR DOWNCASTING NO NEED TO DOWNCAST AFTER UPCASTING
my doubt is can we access the methods in super class after narrowing or upcasting.is it necessary to downcast after the upcast to access the super class methods
2007 Jan 24 11:18 AM
YES WE CAN ACCESS THE METHODS AFTER UPCASTING OR DOWNCASTING NO NEED TO DOWNCAST AFTER UPCASTING
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |