can we override the main() method in java????
Answer Posted / kapil
yes we can override the main method but different argument
bcz jvm always look for String[] args argument
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
How to reverse a string in java?
Why do we need data serialization?
What is variable and example?
I have multiple constructors defined in a class. Is it possible to call a constructor from another constructor’s body?
What is the difference between array and array list in java?
Is set ordered?
Is sizeof a preprocessor?
What is vector capacity in java?
Can one thread block the other thread?
Explain about wait() method?
What is the size of integer?
What happens if I remove static from main method?
How to provide security in java
What are wrapper classes in java?
How do you sort words in java?