- Define a class
- Define method to set value
- Define init method to setvalue
- Define function to return area
Class Varible : 2 Length of Box is: 4 Wid of Box is: 2 Area of Box: 8 Class variable : 3
Class Varible : 2 Length of Box is: 4 Wid of Box is: 2 Area of Box: 8 Class variable : 3
0 Comments
If you have any doubt and suggestion Please let me know