1.

What Do The Keyword Static And Const Signify?

Answer»

When a class member is declared to be of a static type, it MEANS that the member is not an instance variable but a class variable. Such a member is ACCESSED using Classname.Membername (as opposed to Object.Membername). Const is a keyword USED in C++ to specify that an object’s value cannot be changed.

When a class member is declared to be of a static type, it means that the member is not an instance variable but a class variable. Such a member is accessed using Classname.Membername (as opposed to Object.Membername). Const is a keyword used in C++ to specify that an object’s value cannot be changed.



Discussion

No Comment Found