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
What is a marker interface?
Can finally block be used without a catch?
Is age a discrete variable?
What is adapter in java?
What function extracts specified characters from a string?
Can a method be static?
Why can't we use static class instead of singleton?
What is a loop java?
What is formatted output in java?
What is difference between arraylist and list in java?
What is a dot notation?
I am unable to find or learn about print command. I have a graphical program in core java in applet but i want to give print command but i have coding for that so if anyone know about this plz mail me on avdhesh_chauhan007@yahoo.co.in
Is null an object java?
What are abstract methods in java?
how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? Or extending thread class or implementing runnable interface. Which is better? : Java thread