InterviewSolution
Saved Bookmarks
| 1. |
Suppose we have a class RECTANGLE with two properties: height and width. This class also has function calcArea(). We have created an object OBJ in main function. Which of the following is correct way to call calcArea() function? *RECTANGLE OBJ.calcArea() |
|
Answer» RECTANGLE OBJ OBJ.calcArea() |
|