public class MySqlClient {InputStreamReader in = new InputStreamReader(System.in);BufferedReader br = new BufferedReader(in);String sql = "";
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/08 23:08:47
publicclassMySqlClient{InputStreamReaderin=newInputStreamReader(System.in);BufferedReaderbr=newBuffe
public class MySqlClient {InputStreamReader in = new InputStreamReader(System.in);BufferedReader br = new BufferedReader(in);String sql = "";
public class MySqlClient {
InputStreamReader in = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(in);
String sql = "";
public class MySqlClient {InputStreamReader in = new InputStreamReader(System.in);BufferedReader br = new BufferedReader(in);String sql = "";
把输入的作为参数,构建一个读取数据用的InputStreamReader流.然后再把刚才构建的流对象做个包装,包装成BufferedReader流最后把它赋值给br