摘要:
讲到多态,就必须牵扯到继承和接口。至于多态强大的功能,目前水平有限,暂时还没有很明显地体会到。我们先看 多态+继承package test;public class Test { public static void main(String[] args) { A test = new B(); ... 阅读全文
摘要:
#include#include#define bool int //两个数据的交换void swap(int *a,int *b) { int temp; temp = *a; *a = *b; *b = temp;}//优化后的冒泡排序void bubbleSort(in... 阅读全文