下面我简单的画一张表来说明问题:
java作用域public protected private,以及不写时的区别
原文:http://blog.csdn.net/uniquewonderq/article/details/46407891