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 purpose of the main method?
How many bytes is a unicode character?
Which is faster string or stringbuilder?
What is string [] java?
What is the difference between overriding & overloading?
Explain a few methods of overloading best practices in java?
Can we change the value of static variable?
Explain method local inner classes ?
what is thread? What are the high-level thread states? Or what are the states associated in the thread? : Java thread
What are the java ide's? Explain
What is nested top-level class?
What does string intern() method do?
When do we use hashset over treeset?
Why do we need wrapper class?
Is string serializable in java?