摘要: 引入 大家先考虑一个场景, 有一个整形数组, 我们希望通过调用一个工具类的排序方法就能对该数组进行排序. 请看下面的代码: public class Strategy { public static void main(String[] args) { int[] arr = {5, 3, 1, 7 阅读全文
posted @ 2019-04-22 21:07 胡涂阿菌 阅读(1251) 评论(0) 推荐(3) 编辑