前期准备: create table Employee ( ID int not null primary key, Name nvarchar(4), Credit_Card_ID varbinary(max)); --- 小心这种数据类型. go 说明:本表上的索引,都会在创建下一个索引前删除. -------------------------------------------------------
1.首先来说说创建线程的两种方式 一种方式是继承Thread类,并重写run()方法 public class MyThread extends Thread{ @Override public void run() { // TODO Auto-generated method stub } } //线程使用 MyThread mt = new MyThread(); //创建线程 mt.start(); //启动线程 另外一种方式是实现Runnable接口 public class MyTh