What are keywords in programming?
No Answer is Posted For this Question
Be the First to Post Answer
How to convert a string to long?
What is thread life cycle?
What do you know about the garbage collector?
How many bits are allocated to represent character of character sets - Unicode, ASCII, UTF-16, UTF-8?
Why we do exception handling in java and how many types of exceptions are there?
Can an interface extands a class?
Can a boolean be null java?
What is t in parametric equations?
What is the difference between a constructor and a method?
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.
java program with complete 4 oops concepts implemented example
why java does not support mulitple inheritance directly?