What is the return type of a program?s main() method?

Answers were Sorted based on User's Feedback



What is the return type of a program?s main() method?..

Answer / ravikiran

void

Is This Answer Correct ?    14 Yes 0 No

What is the return type of a program?s main() method?..

Answer / rp

it's void means return no
value

Is This Answer Correct ?    4 Yes 1 No

What is the return type of a program?s main() method?..

Answer / 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

More Core Java Interview Questions

What are the 8 primitive data types in java?

0 Answers  


What is default constructors?

0 Answers  


What is a dot notation?

0 Answers  


Can we use a default constructor of a class even if an explicit constructor is defined?

0 Answers  


What is udp in java?

0 Answers  


Can u overload main()method.Give with example.

6 Answers   IBM, Schimatic Technologies,


How can you take string into InputStream?

3 Answers  


Can we force the garbage collection to run?

0 Answers  


where lives in jvm

5 Answers  


Why are variables important in research?

0 Answers  


What is difference between call by value and call by reference?

0 Answers  


What is the difference between the >> and >>> operators?

1 Answers  


Categories