Skip to content
Advertisement

Accessible and Modifiable data?

what is the difference between accessible and modifiable data in the variable grade in terms of accessibility from outside the class?

This is my code where i’m calling grade method from outside the class:

JavaScript

Advertisement

Answer

accessible data means you can only access .we can you only view or access the data it can not be modified or changed

whereas modifiable can be modified or can be changed.

you can say accessible data are constant and modifiable data are variables

Advertisement