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
What is the differences between heap and stack memory in java? Explain
What does regex mean?
Why lambda expression is used in java?
What is OOP's Terms with explanation?
Does constructor creates the object ?
What are the advantages of compiled language?
How do you override a private method in java?
How to write custom exception in java?
Is sizeof a keyword in java programming?
Can we inherit a class with private constructor?
What do you mean by compiler?
What is the inheritance?
Is arraylist sorted in java?
Why put method is used?
How to find the given number is a prime number or not by getting input from the user