Can a class have 2 constructors?


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

Post New Answer

More Core Java Interview Questions

What is difference between == equals () and compareto () method?

0 Answers  


State the difference between strings and arrays.

0 Answers   Syntel, Visa,


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  


How does system arraycopy work in java?

0 Answers  


What are the three parts of a lambda expression? What is the type of lambda expression?

0 Answers  






What is instanceof keyword?

0 Answers  


What is <> used for in java?

0 Answers  


What is array class in java?

0 Answers  


Is java util regex pattern thread safe?

0 Answers  


What is locale in java?

0 Answers  


What is a short in java?

0 Answers  


Can u overload main()method.Give with example.

6 Answers   IBM, Schimatic Technologies,


Categories