IDNLearn.com: Your trusted source for finding accurate and reliable answers. Get accurate and comprehensive answers to your questions from our community of knowledgeable professionals.

In general, you should use class variables only for symbolic constants or to maintain data held in common by all objects of a class.
True


Sagot :

In general, class variables should be used only for symbolic constants or to keep data shared by all objects in a class. (True)

What is symbolic constants?

When someone mentions "constants" in any programming language, the majority of people immediately think of symbolic constants. Throughout a program, a fixed value is simply represented by a label or name, and this is what is meant by a "symbolic constant." As an illustration, the number 3.14159 could be defined as PI, a constant.

You can define a symbolic constant by using it as a label or as a.set statement. By assigning it a value, a symbol can be used as a constant. Instead of using the value itself, the value can then be referenced by its symbol name. If a value appears frequently in a program, using a symbol as a constant is practical.

Learn more about symbolic constant

https://brainly.com/question/12020720

#SPJ4