Answer Posted / neema
Dictionary class is defined in util package.
Its a key/value repository.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the += operator called?
Difference difference paint() and paintcomponent()?
Why is multiple inheritance not supported in java?
What is class and its types?
In java how do we copy objects?
worst case complexities of Quick sort and Merge sort.
Can we have return statement in finally clause? What will happen?
How to optimize the javac output?
Can we call a non-static method from inside a static method?
What is serialversionuid?
Does string is thread-safe 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.
How will you initialize an Applet?
How many return statement are allowed in a function?
What is autoboxing and unboxing?