I'm really confused over the code
((Player) person).play();
. Why do we put Player person in parenthesis?
if(person instanceof Player){
((Player) person).play();
}else if(person instanceof Dancer){
((Dancer) person).dance();
}