Q. String args[] in main method are used for?
public static void main(String args[])
{
//
}

  • (A) Passing arguments at compile time
  • (B) Passing arguments at run time
  • (C) Counting number of words
  • (D) Nothing
πŸ’¬ Discuss
βœ… Correct Answer: (B) Passing arguments at run time

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
615
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
97%
Success Rate