Q. Which is the method that accepts data passed in the form of command-line arguments in Java?

  • (A) show() method
  • (B) main() method
  • (C) display() method
  • (D) print() method
πŸ’¬ Discuss
βœ… Correct Answer: (B) main() method

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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