As the title,
Assume that there's a KiahApplication class that extends Application,
I've seen the code below:
KiahApplication Kapp=(KiahApplication)getApplication();
But isn't it incorrect to cast a superclass to its subclass?
Thank you so much for helping!