2(v)
In the example given below of class Cat, identify the variable and the methods:
| Cat |
| Name |
| meow() |
| eat() |
| play() |
Show SolutionHide Solution↓
Variable: Name
Methods: meow(), eat(), play()
ICSE Class 10 Computer Applications PYQ · 2025 Improvement · Section A
In the example given below of class Cat, identify the variable and the methods:
| Cat |
| Name |
| meow() |
| eat() |
| play() |
Variable: Name
Methods: meow(), eat(), play()