Can a class have 2 constructors?
No Answer is Posted For this Question
Be the First to Post Answer
What is difference between == equals () and compareto () method?
State the difference between strings and arrays.
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 does system arraycopy work in java?
What are the three parts of a lambda expression? What is the type of lambda expression?
What is instanceof keyword?
What is <> used for in java?
What is array class in java?
Is java util regex pattern thread safe?
What is locale in java?
What is a short in java?
Can u overload main()method.Give with example.
6 Answers IBM, Schimatic Technologies,