logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • What is the argument of main() method?


  • Correct Answer
  • main() method accepts an array of String object as arguement 


  • Technology problems


    Search Results


    • 1. What is the return type of the main() method?
    • Discuss
    • 2. Why is the main() method declared static?
    • Discuss
    • 3. Are arrays primitive data types?
    • Discuss
    • 4. Does Java support multiple inheritance?
    • Discuss
    • 5. What are instance variables?
    • Discuss
    • 6. Can a main() method be declared final?
    • Discuss
    • 7. Does the order of public and static declaration matter in main() method?
    • Discuss
    • 8. Can a source file contain more than one class declaration?
    • Discuss
    • 9. Which package is imported by default?
    • Discuss
    • 10. Can a class be declared as protected?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment