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 is local interface. How values will be passed?
When a thread blocks on i/o, what state does it enter?
For which statements does it make sense to use a label?
when A client sent a request to the server to open facebook page and close the browser after this request .at that time the same user do login by using a different browser then that session id will exist or not for the same client??
What are the different algorithms used for clustering?
What are the services in RMI ?
Do we need to override service() method
what is the use of State Factories?
Can I run seam outside of jboss as?
Write a program to show synchronization?
Explain the steps in details to load the server object dynamically?
What is RMI and what are the services in RMI?
What is the purpose of the notifyall() method?
What does module-relative mean?
What is the diffrence between a local-tx-datasource and a xa-datasource? Can you use transactions in both?