Variáveis ​​globais Unidade

//1. declare variable in global scope
 int num;
 
 function count() {]
 
 //2. static modifer
 
 public static int num;
Trout