Casting in an inheritance relationship can only move up or down the hierarchy.