can a static method be overridden
Answer Posted / mohit kaushik
yes main method can be override example
class mad
{
public static void main(String args[])
{}
}
public class mohit extends
{
public static void main(String args[])
{
System.out.println("HELLO");
}}
output HELLO
ANY question contact me with our email.my id.
mohit_kaushik1234@rediff.com
| Is This Answer Correct ? | 2 Yes | 6 No |
Post New Answer View All Answers
why static class in java
How to determine SGA site?
What method is invoked to cause an object to begin executing as a separate thread?
What is a policy?
What is an abstract method?
Why are component architectures useful?
How to implement dphibernate to activate lazy loading in Flex with java ?thanx in advance!
Difference between swing and awt?
Why is string immutable in java?
What is the difference between the font and fontmetrics classes?
Can I have an action without a form?
Can I run seam outside of jboss as?
What is the relation between the infobus and rmi?
How are the elements of a cardlayout organized?
which type of objects reference will be given to client?