Answer Posted / guest
Hi...
Abstract class: U cannot instantiate an object of Abstract
class.An abstract class should having atleast one abstract
methoda and it should not final.
| Is This Answer Correct ? | 5 Yes | 3 No |
Post New Answer View All Answers
What is java and their uses?
What is difference between path and classpath variables?
Do we need to manually write Copy Constructor?
What are implicit objects in java?
How can you handle java exceptions?
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 is mutable object and immutable object?
What is thread count in java?
What is the exact difference in between unicast and multicast object? Where we will use?
How do you define a parameter?
Describe the term diamond problem.
Can we call thread start () twice?
What is Major and importance difference between for and foreach loop ?
Does java list allow null?
How many decimal places is a double?