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()
Answers
Answered by
0
Answer:
RECTANGLE OBJ
OBJ.calcArea()
Similar questions