What is map and hashmap in java?
No Answer is Posted For this Question
Be the First to Post Answer
Can we override compareto method?
What is initial size of arraylist in java?
What is difference between calling start() and run() method of thread?
How java is platform independent?
41 Answers College School Exams Tests, Infosys, TCS,
how many ways we can serialize the java object?
How does predicate work in java?
What is a class object?
How do you check if a string contains only numeric digits?
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 are the different types of collections in java?
What is the difference between Stream Reader and Stream Writer?
What is nullpointerexception in java?