When referring to the method’s return value in code, one should use the __________ value rather than the integer.

Minh Phượng

New member
When referring to the method’s return value in code, one should use the __________ value rather than the integer.
A. DoubleReturn
B. BooleanResults
C. charResult
D. DialogResult
 
Answer: D
Explanation: When referring to the method’s return value in code, one should use the DialogResult value rather than an integer. The values make the code more self-documenting and easier to understand.
 

Tìm kiếm

Back
Top