105k views
1 vote
What is an accessor in Java?

A
It's how Java accesses databases.

B
It's what Java classes use to get access to disk files.

C
It's a method that retrieves information from private class attributes.

D
It's a means of accessing the names of attributes in a class.

1 Answer

5 votes
A because I know this I hade this in my class too
User Rabid Penguin
by
7.4k points