Original Post
what are the advantages and disadvantages of making a class static? and the same question for class methods? and the same question for class member variables? ---------- class CMenu { public static final int m_index = 0; } in the above class, m_index is created when the app start, not when the class is created. thus, my confusion in all this...why would a programmer ever use static final (other than the typical advantages of having a static variable)? does it save memory?