What is break and continue statement?
No Answer is Posted For this Question
Be the First to Post Answer
What do you mean by inner class in java?
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.
Hi Friends, Can u give few interview questions which relates ArrayList and Hashmap. I mean how to link ArrayList and HashMap.I know this is not good way of asking questions like this , but i need
If an application has multiple classes in it, is it okay to have a main method in more than one class?
Tell us something about different types of casting?
What is constructor in java ?
What are accessor methods in java?
what is java bean?where can we use it?
Why is java called java?
What do you mean Abstraction in java?
What is the difference between applet and application?
What is array class in java?