DevLearn logo
Skill Up With Me
Interactive Learning
Signing in…

Создание и применение аннотаций

🔒 Sign in to use this
Создание и применение аннотаций

Пользовательские аннотации объявляются с помощью @interface. Их элементы выглядят как методы, но определяют именованные атрибуты с необязательными значениями по умолчанию. Две мета-аннотации @Retention и @Target управляют тем, где живёт аннотация (источник/класс/выполнение) и к чему она может применяться.

Content is available with subscription.
Get full access to all courses on the platform for one year with a single payment.
Unlike other platforms that charge per course, here you get everything for one price, and after one year of use there will be no automatic charge for the following year.
🔒 Sign in to use this