public static void main(String[] args) {
/* Student student=new Student("01","张三",20);
Student student1=new Student("02","李四",21);
Student student2=new Student("03","王舞",20);
StudentManager sm=new StudentManager();
sm.add(student);
sm.add(student1);
sm.add(student2);
sm.showAll();
sm.delete("02");
sm.showAll();
Student student3=new Student("02","王舞",20);
sm.update(student3,"03");
sm.findById("02");*/
int [] nums={1,3,4,5,8,6};
List<List<Integer>> list=subsets(nums);
for (int i=0;i<list.size();i++){
for (int j=0;j<list.get(i).size();j++){
System.out.print(list.get(i).get(j)+"\t");
}
System.out.println();
}
// sort(nums);
}