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
Social Sciences,
1 month ago
Chemistry,
1 month ago
Math,
3 months ago
Math,
3 months ago
English,
11 months ago