can we override the main() method in java????
Answer Posted / zameer
Yes we can override the main() method in java but that main() method are not declare static keyword.
If main() method is static then we can not override
Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
what do you mean by classloader?
In java, what is the difference between method overloading and method overriding?
What is append function?
What is printwriter in java?
What is a flag and how does it work?
explain local datetime api in java8?
Can we change the value of static variable?
How big is a 64 bit float?
What are the benefits of java?
What is the difference between hashmap and hashtable? What is an interface?
What is bufferedwriter?
Why do we need singleton?
What is array length in java?
what is collatration?
Add a value x to array from index l to r where 0 <= l <= r <= n-1