Which method names follow the JavaBeans standard?
-
addSize
-
getCust
-
deleteRep
-
putDimensions
B
Correct answer
Explanation
JavaBeans getter methods follow the pattern get where the property name starts lowercase. getCust() correctly accesses a property named cust. The other options don't follow JavaBeans conventions: addSize sounds like a bulk operation, deleteRep and putDimensions don't use the get prefix for accessors.