before running any method run a method code example Example: java run method public void main(string, args[]) { }