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
extending thread class or implementing runnable interface. Which is better? : Java thread
What are internal and external variables?
Can inner class have constructor?
What is the difference between a scrollbar and a scrollpane?
Can you explain inner class.
Using callable statement how can you pass out parameters, explain with example?
what is mena by object block any what is the use of that
what is the difference between future and callable interface in java?
What does sizeof return?
What is tochararray in java?
What is treeset in java collection?
What is use of functional interface in java 8? Explain
Why super is first line in java?
Where is java located?
What is the use of toarray () in java?