What is the argument type of a programs main() method?



What is the argument type of a programs main() method?..

Answer / Jitendra Kumar Paswan

The argument type of a program's main() method is 'String[]', which represents an array of strings that can be used to pass command-line arguments to the program.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Advanced Java Interview Questions

What is bean? Where can it be used?

1 Answers  


When a thread blocks on i/o?

1 Answers  


For which statements does it make sense to use a label?

1 Answers  


How can I avoid validating a form before data is entered?

1 Answers  


If we opened Windows Internet Explorer 4 times, does it starts 4 processes or 4 threads?

1 Answers  


What is a class loader? What are the different class loaders used by jvm?

1 Answers  


types of exceptions

1 Answers  


i have a 1000 objects in data base i need to display those in jsp's how can i retrive those objects in jsp. (consider the performance issue)

2 Answers  


What is a session? Can you share a session object between different theads?

1 Answers  


Explain phantom read?

1 Answers  


What are the steps to write p-to-p model application?

1 Answers  


what is difference between checked exception & unchecked exception in java?

3 Answers   Ness Technologies,


Categories