You wouldn't be able to do what you're saying in J...
# announcements
k
You wouldn't be able to do what you're saying in Java though, because it just doesn't make sense. Once you're inside an anonymous class' overridden method, for example, you can't
return
to the method that you're in. The only reason you can do it in Kotlin is if you have an `inline`d function because then `foo`'s body is part of `main`'s body, too