Answer Posted / deepakkumar1887
per record we should have one object. usually object are used
to store specific information to perform set of operation
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
Can we create constructor in abstract class ?
What is java in detail?
What is difference between static and final?
What do heavy weight components mean in java programming?
What are the two types of java programming?
How to perform quicksort in java?
Write java program to reverse string without using api?
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 main uses of the super keyword?
Variables used in a switch statement can be used with which datatypes?
How to add menushortcut to menu item?
Can we sort set in java?
What is stringjoiner ?
What are the different ways to handle exceptions?
What does indexof return in java?