What is the return type of a program?s main() method?
Answer Posted / ashokmail
by default it is void and return null.
if return type is int , it returns 0 or 1 depends on the
program execution .
| Is This Answer Correct ? | 3 Yes | 5 No |
Post New Answer View All Answers
Write a java program for binary search?
What happens when I use / and % with a negative numerator?
Can we print null in java?
What is a memory leak in java?
Why do we need hashmap in java?
Why does java have different data types for integers and floating-point values?
Variables used in a switch statement can be used with which datatypes?
Can a class be declared as protected?
What is meant by main method?
Write a program based on Java script program.
What is difference between iterator access and index access?
What happens if constructor is private?
Difference between static binding and dynamic binding?
What is javac in java?
What is thread synchronization in java?