摘要:
从http://www.cnblogs.com/liuling/archive/2013/05/03/classrelation.html学习 http://blog.sina.com.cn/s/blog_59ca2c2a01012ido.html 在学习之前,先根据我们很很有限的开发经历,来看看类之间有什么关系?我们用过哪些呢? 这里的类包括抽象类,类,接口、这里面关系其实更复杂,但... 阅读全文
摘要:
1.无重复排列 2.有重复排列 3,下一个排列 package 生成排列;public class Main { static int count=0; //a中保存原来的排列,lev表示选定第几个数,len是长度 public static void swap(int a[],int lev,int i) { int temp=a[lev]; ... 阅读全文