What is a marker interface? - Cracking the Java Coding Interview

preview_player
Показать описание
Cracking the #Java #Coding #Interview - Question 28: What is a marker interface?
Рекомендации по теме
Комментарии
Автор

Like Java is big

We learn everyday
You can’t know it all ! Love you always Java

oladipupoibrahim
Автор

Can we create our own marker interface?

sumanmogullapally
Автор

Really old i know.
But arent annotations ment to be what marker interfaces do?

Speiger
Автор

I recall Effective Java considering java.util.Set to be a marker interface.

bizoitz
Автор

All these interfaces should be turned into annotations, like: @Serializable

marcinkwapisz
visit shbcf.ru