Can static variables be changed

1 answer

Answer

1212275

2026-04-19 12:25

+ Follow

No, a static variable means that there is only one copy of that variable, and it is shared by all members of the class, or by all callers of a function.

A variable that is read-only would be marked as const or final (depending on language).

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.