Answer Posted / srinivaskumar.nimmana
Yes, we can... like this,
public static void main(String[] args){....}
pulbic void main(int a){....}
public static int main(flaot f){....}
public String main(string s){....}
in the above code public static void main(string[] args) executed as thread remaining methods are normal methods in our java class. in jvm p.s.v.main(string[] args) defined with thread so jvm always search for this syntax only.any other main() with diffrent parameters are consider as normal method
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
How concurrent hashmap works?
What is the difference between error and an exception?
What are wrapped classes in java programming?
What is the main functionality of the remote reference layer?
What is a lightweight component?
What is the purpose of finalization in java programming?
Is space a character in java?
Write a program in java to calculate the difference between the sum of the odd level and even level nodes of a binary tree.
What does it mean to be immutable?
What are the Main functions of Java?
Can java list be null?
Can an integer be a string?
What are the differences between getting and load method?
What is the static field modifier?
Explain implementation and how is it different from conversion?