Computer Science, asked by noelRohith2834, 1 year ago

Which of the following is/are the right way to declare a method?
1. function functionName() { function body }
2. scope function functionName() { function body }
3. method methodName() { method body }
4. scope method methodName() { method body }
A.Only 2
B.Only 4
C.1 and 2
D.3 and 4

Answers

Answered by Anonymous
0
______✨ HEY MATE ✨______

➡️Option (C) 1 and 2 is the right answer ✔️

<marquee>✌️ I THINK IT HELPED YOU ✌️
Answered by mayakhan
2
I think D. 3 and 4.....
Similar questions