In the video, Bucky has:


public static int getMembers(){
  return members;
}


is it necessary to make the function static, can I just leave the static out? When would you need to make a function static?

Thanks in advance!