πŸ“Š PHP
Q. Which is/are the correct way to declare a method?
  • (A) function functionName() { function body }
  • (B) method methodName() { method body }
  • (C) scope function functionName() { function body }
  • (D) Both A and C
πŸ’¬ Discuss
βœ… Correct Answer: (D) Both A and C

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
176
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Team MCQ Buddy
Publisher
πŸ“ˆ
87%
Success Rate