老師,為什么不把connect()直接放在構(gòu)造中呢?

藍(lán)色主旋律?
2014-11-03
1 回答
舉報
0/150
提交
取消
2014-11-03
您好,單獨寫一個方法管理和維護起來比較方便,一般功能性的方法都會單獨開設(shè)。請知曉