What are marker interfaces in Java?
Hello Everyone👋👋
What are marker interfaces in Java?
A marker interface is empty. It does not have any functions or variables in it. A marker interface provides information about the object during runtime. It is also called a tagging interface. These days annotations are preferred over marker interfaces.
#Java #marker #interface #abstract #software #developer #programming #code #functional #inheritance #class #object #OOPS #SpringBoot #database #MySQL #Java8 #default #static #void #main #public #private #String #multithreading #thread #synchronized #transient #volatile #extends #implement #interview #tag #SpringAI #Machine #Learning