logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • What is String Args in Java?


  • Correct Answer
  • String Args (String []) is an array of parameters of type String In Java, 'args' contains the supplied command-line arguments as an array of String objects In other words, if you run your program as 'java MyProgram Hello World' then 'args' will contain ["Hello", "World"] When a java class is executed from the console, the main method is what is called 

  • Tags: Analyst, Database Administrator, IT Trainer, Project Manager, Software Architect

    Technology problems


    Search Results


    • 1. Why static methods cannot access non static variables or methods?
    • Discuss
    • 2. Explain static and dynamic memory allocation with an example each.
    • Discuss
    • 3. What is the difference between Tags and HTML Elements ?
    • Discuss
    • 4. How can you make sure the web application is fit for release ?
    • Discuss
    • 5. What is the importance of finally block in exception handling ?
    • Discuss
    • 6. The syntax of capture events method for document object is..
    • Discuss
    • 7. What is the role of the JIT compiler in .NET Framework?
    • Discuss
    • 8. Which of the following gives the memory address of the first element in array?

    • Options
    • A. array[0];
    • B. array[1];
    • C. array(2);
    • D. array;
    • Discuss
    • 9. What JSON framework is supported by iOS (iPhone OS) ?
    • Discuss
    • 10. What are the features added in iOS 9 ?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment