Question 10
Back to Exercise
How do you read the pages component of a Book record b?
- A b.getPages()
- B b.pages() Correct
- C b.pages
- D Book.pages(b)
Correct Answer: Option B
The field itself is private.
Discussion & Comments 0
Share your method, a shortcut, or ask about a step you didn't follow.
No comments yet. Be the first to share your solution!