can you use the two main method in same class?how?
Answer Posted / shreedream
yes
in java language support the method Overloading, so we can
use the two main method in same class but it should have
different parameter list?
Is This Answer Correct ? | 45 Yes | 2 No |
Post New Answer View All Answers
Explain java coding standards for constants?
Is arraylist ordered?
How do you convert an int to a string in java?
What do you mean by mnemonics?
What are constants?
What are aggregate functions explain with examples?
How to set the permissions to a file in java?
Can a constructor have different name than a class name in java?
Name few java util classes introduced with java 8 ?
What is finally and finalize in java?
Can we create an object of static class in java?
Difference between static synchronization vs. Instance synchronization?
Why to use nested classes in java? (Or) what is the purpose of nested class in java?
What is flush () in java?
What is the properties class?