The following code snippet will result in a run-time:
class Vehicle { public void printSound() { System.out.print(\"vehicle\"); } } class Ca
Type casting of object occurs at run time so compiler doen't recognize it