[Edit]
Answer
static method can be overide.it is should be possible. example
class madd
{
public static void main(String args[])
{
}
}
public class mohit extends madd
{
public static void main(String args[])
{
System.out.println("HELLO");
}
}
compile succefully and run also.then output will be HELLO
First answer by ID408319499. Last edit by Mohit kaushik. Contributor trust: 0 [recommend contributor]. Question popularity: 25 [recommend question]
|
Research your answer: |
Can you answer other
questions about java programming?
- Write some code to take lists of connections and return families The input is a list of pairs of numbers Each pair indicates a connection eg 2386 means 23 is related to 86?
- What is the basic need of method overwritting in JAVA?
- How do you do a simple table in java?
- Is physically handicapped person not eligible to soft ware Then why did satyam and wipro reject me even i answered good to them in final interviews?





