Hi can u pls tell me what is the use of marker interface.
Iknow what is marker interface but what ability will the
object get by implementing this.
Answer Posted / sudheer
The interfaces with no defined methods act like markers. They just tell the compiler that the objects of the classes
implementing the interfaces with no defined methods need to be treated differently.
Example Serializable, clonable etc.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Hi all, I am dng a mini project on FileSplitter application which splits the GBs of logfile into Smaller chunks(mbs) depending on the split size." How to handle GBs file? I am getting OutOfMemoryException, when I input such GB sized file. Thx
List some important features of java 10 release?
Is string a class?
What is the advantage of OOP in java?
What are the 6 mandatory procedures for iso 9001?
Why destructor is not used in java?
What is the use of parse function in java?
What is finalize method?
What's the difference between comparison done by equals method and == operator?
Why main method is called first in java?
What is a buffer in java?
Why java is call by value?
hi am an engineering student and my next plan is for ms in either in us or australia i got my passport but i dont know anything bout visa can u give brief idea 1)How to get prepared for visa and 2)How to apply for top universities and 3)How to pay the fee and so on These all are basic questions plz give me a clear idea
What are void pointers?
What is static keyword in java?