Asked by Alex

What does the dot “.” indicate in the following code? myCircle.getRadius()

1)Nothing, it’s a syntax error


2)It indicates that the getRadius() method is a member of the myCircle object


3)It’s just part of the name of the method myCircle.getRadius()


4)None of the above

Answers

Answered by Steve
Sure looks like #2 to me

Time to read up on objects and their members.
There are no AI answers yet. The ability to request AI answers is coming soon!

Related Questions