What is the epoch date?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

What is hashmap and map?

0 Answers  


What is a pattern what is an anti pattern?

0 Answers  


What is primitive array?

0 Answers  


What is the argument in java?

0 Answers  


What is a java string?

0 Answers  






What are the features in java?

0 Answers  


Can we create constructor in abstract class ?

0 Answers  


What is the difference between serializable and externalizable interfaces?

0 Answers  


Explain about abstract classes in java?

0 Answers  


Why do we use bufferedreader?

0 Answers  


can we Connect Applet to Data Base ? with Discriptiom. and also What is Diff. from Applet & Servlet?

1 Answers   Systematix,


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.

0 Answers  


Categories