Miscellany (updated)

static static variables

错误:static c=a+b;
正确:static c;    
      c=a+b;

Static variables can not be assigned directly, if necessary, after the statement, then the assignment.

Or to assign static variables constant.

Published 29 original articles · won praise 3 · Views 3176

Guess you like

Origin blog.csdn.net/qq_38436175/article/details/104041992