Can we override static methods?
Answer Posted / karun
yes ,we can override the static methods to static methods
only.
sorry for the previous my wrong answer.:((((
| Is This Answer Correct ? | 23 Yes | 15 No |
Post New Answer View All Answers
What is scope of a variable?
Why is the singleton pattern considered to be an anti pattern?
How does hashset work in java?
What are examples of modifiers?
what is the difference between thread and runnable types? : Java thread
Explain exception chaining in java?
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 thread start?
How do you escape a string?
Explain about the select method with an example?
What is a Null object?
How do you add an arraylist to an array in java?
When should I use a singleton?
Does sprintf add a null terminator?
Which sorting algorithm is in place?