WHAT IS MARKER INTERFACE,AND NO METHODS IS NOT THERE ON THAT
INTERFACE THEN WHY WE USED IN JAVA?
Answer Posted / rameshreddy
it is in depth concept. The compiler developer internally
developed like that, Through that markinterface only(tag
interface) ,compiler identifies its internal functinality
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
Can an integer be null java?
What about interrupt() method of thread class ?
What are basic keywords?
Why are variables important in research?
Are registers volatile?
Java.util.regex consists of which classes?
What is the size of boolean variable?
Can we change the value of static variable?
Is java util regex pattern thread safe?
What are the three parts of a lambda expression? What is the type of lambda expression?
What is preflight request?
What are the object and class classes used for?
Draw a UML class diagram for the code fragment given below: public class StringApplet extends Applet { private Label sampleString; private Button showTheString; private ButtonHandler bHandler; private FlowLayout layout; public StringApplet() { sampleString = new Label(" "); showTheString = new Button (" Show the String"); bHandler = new ButtonHandler(); layout = new FlowLayout(); showTheString.addActionListener(bHandler); setLayout(layout); add(sampleString); add(showTheString); } class ButtonHandler implements ActionListener { public void actionPerformed(ActionEvent e) { samplestring.setText("Good Morning"); } } } Note: The methods need not be indicated on the diagram.
Is singleton set an interval?
What is sorting algorithm in java?