What is the use of Marker interface if they don't hold anything?
Question
What is the use of Marker interface if they don’t hold anything?
Answer
As the name suggest , They just mark a class and just indicate something to compiler and JVM.
What is the use of Marker interface if they don’t hold anything?
As the name suggest , They just mark a class and just indicate something to compiler and JVM.