What is a marker interface?

Answer Posted / nashiinformaticssolutions

An empty interface in Java is referred to as a Marker interface. Serializable and Cloneable are some famous examples of Marker Interface.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does jenkins do?

672


What is classes in java?

695


Are registers volatile?

698


What are the uses of synchronized keyword?

739


How do you sort in java?

775


Explain the difference between abstraction and encapsulation.

726


What is java util hashmap?

721


Have you ever used hashtable and dictionary?

786


Explain about anonymous inner classes in java?

775


Can a set contain duplicates?

707


Where are register variables stored?

790


5 Coding best practices you learned in java?

817


What are the 8 primitive data types in java?

757


Is array size fixed in java?

734


What is close method? How it's different from Finalize & Dispose?

776