Can you call one constructor from another if a class has multiple constructors?
No Answer is Posted For this Question
Be the First to Post Answer
Is double bigger than float?
What is the purpose of having the concept of overloading?
Java Compiler is stored in JDK, JRE or JVM?
What is the difference between Integer and int?
When finalize method is called?
what is meant by Byte code concept in Java?
What is the use of join method?
Explain the pointers in Java?
what is meant by abstract class?
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 kinds of polymorphism?
How can a class be accessed, If no access modifiers are declared?