Can an interface be final?
No Answer is Posted For this Question
Be the First to Post Answer
What is difference between iterator and enumeration in java?
Marker interface means , interface which has no methods.Then what is the necessity of its usage.I read "it tells the compiler that it should be treated differently ". "It is used to store state of an object". But still am not clear.Please explain clearly.
Can a set contain duplicates?
What is the difference between choice and list?
How many ways can we create singleton class?
What is externalizable?
What is meant by method overriding?
What is an immutable object?
How to declare objects of a class ?
0 Answers Akamai Technologies,
what are the high-level thread states? : Java thread
How we can make copy of a java object?
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.