Search Interview Questions | ![]() ![]() Click here and help us by providing the answer. ![]() Click Correct / Improve and please let us know. |
|
| ||||
Interview Questions and Answers | ||||
| ||||
Ans. Objective of constant variable is to provide a context to the value and provide a single point of change. In terms of context, i don't see much need for having constant name for null as null is already self explanatory. In terms of providing single point of change, it doesn't make much sense as it would necessitate that all such placeholders either hold null or a common value. | ||||
![]() | ||||
![]() ![]() ![]() | ||||
![]() | ||||
![]() | ||||
![]() | ||||
![]() SEVEN NUMBER_OF_DAYS_IN_WEEK NUMBER_OF_DAYS_IN_WEEK_7 | ||||
![]() THIRTY_ONE NUMBER_OF_DAYS_IN_MONTH NUMBER_OF_DAYS_IN_MONTH_31 | ||||
![]() | ||||