Final answer:
In object-oriented programming, class attributes should be made private and accessed through getter/setter methods.
Step-by-step explanation:
In object-oriented programming, the attributes of a class should be made private and accessed through getter/setter methods, which are encapsulated. By making the attributes private, we are ensuring that they can only be accessed or modified through the designated setter and getter methods. This helps to maintain data integrity and control how the attributes are manipulated.