方法:也叫做函数,实现某个功能
方法分类:
系统提供的方法 常用的系统提供的方法 如:nextInt() next() nrxtDouble() print() println()…………
用户自定义的方法