Which of the following statements are true? ( )
选项:
A:Use the private modifier to encapsulate data fields.
B:Encapsulating data fields makes the program easy to maintain.
C:Encapsulating data fields makes the program short.
D:Encapsulating data fields helps prevent programming errors.
发布时间:2024-06-04 09:24:43