logo

CuriousTab

CuriousTab

Discussion


Home Technical Questions Programming See What Others Are Saying!
  • Question
  • public static void main string[] args Meaning is?


  • Correct Answer
  • Here in this declaration public static void main string[] args, each keyword has its importance 1 public - Here public is an access specifier which allows the main method to be accessible everywhere 2 static - static helps the main method to get loaded without getting called by any instance/object 3 void - void clarifies that the main method will not return any value 4 main - It's the name of the method 5 String[] args - Here we are defining a String array to pass arguments at the command line args is the variable name of the String array 

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

    More questions

    • 1. In the relational model, relationships between relations or tables are created by using:

    • Options
    • A. composite keys.
    • B. determinants.
    • C. candidate keys.
    • D. foreign keys.
    • Discuss
    • 2. What does microprocessor speed depend on?
    • Discuss
    • 3. What does RSI stand for?
    • Discuss
    • 4. Which Stack is used in 8086?
    • Discuss
    • 5. What is object repository?
    • Discuss
    • 6. Which is the Stack used in 8085?
    • Discuss
    • 7. What does GUI stand for?
    • Discuss
    • 8. What is the main reason the OSI Model was created?
    • Discuss
    • 9. Ethernet uses which topology

    • Options
    • A. Star
    • B. Bus
    • C. Twisted pair
    • D. Both B & C
    • Discuss
    • 10. What are various scheduling queues?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment