i have 2 questions what is difference between .toS...
# getting-started
m
i have 2 questions what is difference between .toString and as String second question is: can we do both upcasting and downcasting with as keyword?
@Ruckus There is an error in android studio this cast never succeed.If we try unrelated cast.
i am asking which casts can succed always
up to down and down to up can work always?
can we cast from "any" class to everything
ok.I see it is so clear now.Thank you
Lastly is casting more efficient than conversion? ı heard that but i wanted to be sure
ok.thanks