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
Is string is a class in java?
What is the collections api in java programming?
How define set in java?
How to call one constructor from the other constructor ?
What is the purpose of encapsulation?
What is the purpose of the finalize() method?
What do you mean by light weight and heavy weight components?
Which is dependent variable?
What is method in java with example?
What is the default size of arraylist in java?
design an lru cache in java?
Difference between nested and inner classes ?
Are floats faster than doubles?
Can substring create new object?
What are the methods used to implement for the key object in the hash map?