QUESTION IMAGE
Question
question 20 1 pts cardel is using java to write a saas program for an educational technology company. he chooses to keep his code private and to protect his work from imitation but may wish to modify or update the code in the future. which of the following will be most likely to make it easier for him to edit his code in the future? select two answers. naming conventions testing of the code with various inputs syntax of the language adequate and appropriate comments
To determine the correct answers, we analyze each option:
- Naming conventions: Consistent naming conventions make code more readable and understandable, which eases future editing.
- Testing of the code with various inputs: This is for validating code functionality, not directly for easier future editing.
- Syntax of the language: Syntax is a fixed rule of the programming language and doesn't directly help in future code editing (it's a requirement to write code, not for editing existing code).
- Adequate and appropriate comments: Comments explain the purpose and logic of code, making it easier to understand and modify later.
So the two options that help in easier future code editing are Naming conventions and Adequate and appropriate comments.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
A. Naming conventions, D. Adequate and appropriate comments