Insurance Information. At Southpark Oral Surgery we make every effort to provide you with the finest care and the most convenient financial options. To accomplish this we work hand-in-hand with you to maximize your insurance reimbursement for covered procedures. If you have any problems or questions, please ask our staff.
Downcasting In Java. Upcasting is assigning the sub class reference object to the parent class which is allowed in Java. Downcasting is assigning parent class reference object to the sub class which is not allowed in Java. However, if you do downcasting, there will not be any compiler error.
Remember that in Java, every descendant of a class X is also of type X. This means that every descendant of the Person class is also of type Person. This is why downcasting would work if, in the equals method above, any object of a class type that is descended from Person is passed to the method.