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
How do you create a reference in java?
What are the restriction imposed on a static method or a static block of code?
Write a regular expression to validate a password. A password must start with an alphabet and followed by alphanumeric characters; its length must be in between 8 to 20.
What is variable and constant explain with example?
What are the differences between throw and throws?
How do you start a thread?
Which class cannot be a subclass in java?
Is treeset sorted in java?
What is bubble sorting in java?
What is the platform?
What are the types of strings?
What is hashtable and explain features of hashtable?
What is locale in java?
What are heterogeneous objects?
Can you write a java class that could be used both as an applet as well as an application?