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
What are various types of class loaders used by jvm?
Do I have to use jsps with my application?
Explain what is orm?
What is the difference between the string and stringbuffer classes?
what is Activation Instantinator?
we use MainFrame and using os390 for operating system with DB2 data base in IRAN and interest programing with java and use webspere for world wide,please help me where i should start?
What are the different algorithms used for clustering?
Can I use javascript to submit a form?
Is there a guarantee of uniqueness for entity beans?
Can I import same package/class twice? Will the jvm load the package twice at runtime?
What is the purpose of the wait(), notify(), and notifyall() methods?
what is meant by JRMP?
Why a client should be multithreading? Explain.
Why is actionform a base class rather than an interface?
Explain ioc concept?