我是主考官

转载自:http://blog.csdn.net/qdzx2008/article/details/4904027

1、请写一段html,完成下列表格的样子。注意:是单线边框。

 

2、字符串“A@B@C@D”,以@字符拆分 返回数组。

 

3、字符串String s=SDsBEaA,要求最后生成s=AaBDESs.

 

4、有3张表,Student表、SC表和Course

Student:学号(Sno)、姓名(Sname)、性别(Ssex)、年龄(Sage)和系名(Sdept

Course:课程号(Cno)、课程名(Cname)和学分(Ccredit);

SC表:学号(Sno)、课程号(Cno)和成绩(Grade

请使用SQL语句查询学生姓名及其课程总学分

(注:如果课程不及格,那么此课程学分为0

 

5、请说出这个程序的目的是什么?返回结果是什么?

public Station(URL urla){

try

{

     String a="",b="";

     InputStream ins = urla.openStream();

     BufferedReader bReader = new BufferedReader(new InputStreamReader(ins));

     String info = bReader.readLine();

     int i=1;

     info=bReader.readLine();

  

    while(info!=null){

          a=info.substring(0,info.indexOf("@"));

          b=info.substring(info.indexOf("@")+1,info.length());

 

          if (i==1){

             this.X1=Integer.parseInt(a);

             this.Y1=Integer.parseInt(b);

         }

       

         if (i==2){

             this.X2=Integer.parseInt(a);

             this.Y2=Integer.parseInt(b);

        }

        if (i==3){

             this.X3=Integer.parseInt(a);

             this.Y3=Integer.parseInt(b);

       }

       if (i==4){

            this.X4=Integer.parseInt(a);

            this.Y4=Integer.parseInt(b);

       }

       i++;

       info=bReader.readLine();

       }

   }

   catch(MalformedURLException e){

       System.out.println(e);

   }

     catch(IOException e){

      System.out.println(e);

   }

}

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值