Computer Science, asked by askk5571, 1 month ago

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 rajsingh08471
0

Answer:

RECTANGLE OBJ

OBJ.calcArea()

Similar questions