hey guys i am knew to javafx and i am trying to cast a BorderPane to an anchronPane, meanwhile an error occured and i don t know what to do, i was following a tutorial so pl
BorderPane extends Pane
BorderPane
Pane
AnchorPane extends Pane
AnchorPane
They extend the same class but are different classes and generate different objects that can not be casted into each other.
Lion extends BigCat
Lion
BigCat
Tiger extends BigCat
Tiger
How would you cast a Lion to a Tiger ?