What is sizeof () operator?
No Answer is Posted For this Question
Be the First to Post Answer
What is return in java?
How does compareto work in java?
What are inbuilt functions in java?
Which oo concept is achieved by using overloading and overriding?
Explain java coding standards for interfaces?
Which collection object is faster to retrieving the data and inserting the data into it.
2 Answers Jamcracker, Virtusa,
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 the main use of java?
What is public static void main?
What type of variable is error flag?
when you will synchronize a piece of your code? : Java thread
Where is jre installed?