Q. What is the purpose of method parameters in Java?

  • (A) To pass values into a method
  • (B) To define local variables
  • (C) To specify the return type
  • (D) To create instance variables
πŸ’¬ Discuss
βœ… Correct Answer: (A) To pass values into a method

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
219
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Ram Avtar Sharma
Publisher
πŸ“ˆ
80%
Success Rate