If I don't provide any arguments on the command line, then what will the value stored in the string array passed into the main() method, empty or null?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

What does it mean that a class or member is final?

0 Answers  


Is main a keyword in java?

0 Answers  


how and when compiler knows that the Java code throws the checked Exception.

2 Answers   HSBC,


what is hashmap& hashtable with example?

1 Answers   CTS,


How many functional interfaces does java 8 have?

0 Answers  






What is stack class in java?

0 Answers  


how cani read a command line argument?(usingfile object).

3 Answers  


What is preflight request?

0 Answers  


What is the use of hashmap in java?

0 Answers  


Define nashorn in java8.

0 Answers  


Is space a char?

0 Answers  


public class BatchTest { public static void main(String[] args) { Runtime run = Runtime.getRuntime(); try { Process p = run.exec("cmd start /c D:/test.bat"); System.out.println(p.exitValue()); } catch (Exception e) { e.printStackTrace(); } System.out.println("FINISHED"); } }

0 Answers  


Categories