Why null interfaces are used in Java?
Answers were Sorted based on User's Feedback
Answer / guest
Null interfaces can also be called as Tag interface
eg: Serializable,RandomAccess
| Is This Answer Correct ? | 1 Yes | 1 No |
What is parameter example?
Can each java object keep track of all the threads that want to exclusively access it?
Does constructor creates the object ?
What are static blocks in java ?
How to make a write-only class in java?
Can the garbage collection be forced by any means?
How is rounding performed under integer division?
Why is boolean important?
What is return in java?
how a marker interface gets its functionality and when we implements a marker interface how it got invoked
1.IN CASE OF DYNAMIC METHOD DISPATCH WHY WE USE REFERENCE VARIABLE,WE CAN USE THE DIFFERENT DEFINED OBJECT DIRECTLY TO ACCESS THE DATA MEMBER AND MEMBER FUNCTION OF THAT RESPECTIVE CLASS?WHAT IS THE MAIN FUNCTION OF "REFERENCE VARIABLE" HERE?
Is string is a class in java?