To access methods of other classes, methods must be static with the public Access modifier.
static - Not bound to an instance of the class, but used by all other instances.
private - access to data is possible only from one class.
public - data can be accessed from other classes, but must be specified.
Ryan doooley
source share