What are null interfaces? Give some examples?

Answer Posted / debapriya patra

Null interfaces in java means "marker interfaces".Interface
which does not contain any variables and methods are called
marker interfaces.

Example:

serialize,cloneable etc...

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of default method in interface in java?

555


What is the difference between exception and error in java?

495


Why local variables are stored in stack?

502


If a class is declared without any access modifiers, where can the class be accessed?

601


What are the main uses of this keyword?

603






Explain about narrowing conversion in java?

570


Can a class extends itself in java?

531


What is javac_g?

594


How to implement a multithreaded applet?

2206


Mention some interfaces implemented by linked list in java.

545


Are generics important java?

529


What do you understand by casting in java language?

580


What an i/o filter?

567


How do you initialize an arraylist in java?

513


What do you understand by private, protected and public?

526