Can we overload run() method in java?
No Answer is Posted For this Question
Be the First to Post Answer
What is getkey () in java?
I have 2 objects inside one object(vector). how can i serialize one of them. I dont want to serialize the second one
What is == in java?
can we declare private class in java file?
If system.exit (0); is written at the end of the try block, will the finally block still execute?
How to declare an arraylist in java?
What is the Layout for ToolBar?
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.
What is an argument java?
What access modifiers can be used for methods?
What is abstract class constructor called?
Write down program for following scenario. Use java coding standard. You have array list with some words in it..we will call it as dictionary….and you have a arbitrary string containing some chars in it. You have to go through each word of dictionary and find out if that word can be constructed with the help of chars from arbitrary string given. If you find the word print it else print none.