what is marker interface ? what is the necessity of it?
Answer Posted / javaexp
<a
href="http://www.javaexperience.com/java-marker-interfaces/">Marker
interfaces in Java</a> are used for marking a specific
behavior and we can only simulate the behavior by writing
custom interfaces without any methods and having
implementing them by other classes.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can a static class implement an interface?
why would you use a synchronized block vs. Synchronized method? : Java thread
What do u mean by variable?
What is toarray method in java?
What is the difference between variable & constant?
What are exceptions
What is parameters example?
how can i use a nonsynchronized hashtable?
What is serial version uid and its importance in java?
Explain java thread life cycle.
You can create a string object as string str = “abc”; why cant a button object be created as button bt = “abc”;? Explain
What is difference between jdk,jre and jvm?
Give a practical example of singleton class usage?
Write a java program to find the route that connects between Red and Green Cells. General Rules for traversal 1. You can traverse from one cell to another vertically, horizontally or diagonally. 2. You cannot traverse through Black cells. 3. There should be only one Red and Green cell and at least one of each should be present. Otherwise the array is invalid. 4. You cannot revisit a cell that you have already traversed. 5. The maze need not be in the same as given in the above example
What are three types of loops in java?