Question Bank
Subscription
Helpdesk
Download App
Blog
EN
Sign In
Create Account
Open main menu
Question Bank
Android - Developer
Question
Middle
22
0
questionbank
Какие ограничения существуют у sealed классов в Kotlin?
Answer from sobes.tech neural network
Должны находиться в том же пакете и модуле, что и их подклассы.
Не могут быть абстрактными.
Не могут быть data-классами.
Не мог
Должны находиться в том же пакете и модуле, что и их подклассы.
Не могут быть абстрактными.
Не могут быть data-классами.
Не мог
Register or sign in to get access to full answers for all questions from the question bank.
Sign Up
Sign In
kotlin
sealedClass
inheritance
subclassing
compilation
Encountered this •
Our Telegram Channel