听力 :
Where is the foreigner’s place of birth? ( )
选项:
A:
Korea
B:
New Zealand
C:
Singapore
D:
Spain
Where is the foreigner’s place of birth? ( )
Korea
New Zealand
Singapore
Spain
以下文字与答案无关
提示:有些试题内容 显示不完整,文字错误 或者 答案显示错误等问题,这是由于我们在扫描录入过程中 机器识别错误导致,人工逐条矫正总有遗漏,所以恳请 广大网友理解。
Singapore
B:Australia
C:U.S.A.
D:Canada
Singapore
B:Australia
C:U.S.A
D:Canada
frozen
B:wet
C:the new day
D:united
On a train.
B:In Tom's house.
C:In Jane's house.
another
B:the other
C:other
D:the others
another
B:the other
C:other
D:the others
How to appreciate Italian art .
B:When to start their tour in Italy .
C:Where to find good Italian food .
D:What to do on their tour of Rome .
try{
FileOutputStream out=new FileOutputStream(f) ;
out.write(a) ;
out.close () ;
FileInputStream in=new FileInputStream(f);byte ] tom= new byte100];
int m = in.read(tom) ;
String s=new String(tom,0, m) ;
System.out.printf("%d : %s" , m,s);
}catch (IOException e){}
}
}
">8.阅读以下程序,写出输出结果:import java.io.*;
public class E{
public static void main(String args]){
int n=-1;
File f =new File("hello.txt") ;byte ] a="abcd".getBytes () ;
try{
FileOutputStream out=new FileOutputStream(f) ;
out.write(a) ;
out.close () ;
FileInputStream in=new FileInputStream(f);byte ] tom= new byte100];
int m = in.read(tom) ;
String s=new String(tom,0, m) ;
System.out.printf("%d : %s" , m,s);
}catch (IOException e){}
}
}
seating
B:seated
C:be seating
D:to seat
where
B:what
C:when
D:why
byte ] a="abcd".getBytes();
try{ FileOutputStream out=new FileOutputStream(f);
out.write(a);
out.close();
FileInputStream in=new FileInputStream(f);
byte ] tom= new byte3];
int m = in.read(tom,0,3);
System.out.println(m);
String s=new String(tom,0,3);
System.out.println(s);
m = in.read(tom,0,3);
System.out.println(m);
s=new String(tom,0,3);
System.out.println(s);
}
catch(IOException e) {}
}
}
">11.以下程序的运行结果是( )。import java.io.*;
public class E {
public static void main(String args]) {
int n=-1;
File f =new File("hello.txt");
byte ] a="abcd".getBytes();
try{ FileOutputStream out=new FileOutputStream(f);
out.write(a);
out.close();
FileInputStream in=new FileInputStream(f);
byte ] tom= new byte3];
int m = in.read(tom,0,3);
System.out.println(m);
String s=new String(tom,0,3);
System.out.println(s);
m = in.read(tom,0,3);
System.out.println(m);
s=new String(tom,0,3);
System.out.println(s);
}
catch(IOException e) {}
}
}
String s2 = "lanqiao";
String s3 = new String("lanqiao");
String s4 = new String("lanqiao");
System.out.println(s1==s2);
System.out.println(s3==s4);
}
}
程序运行后的输出结果是( )
选项: A:true false
C:false false
D:false true
">12.1.有如下程序
public class LanQiao{
public static void main(String] args) {
String s1 = "lanqiao";
String s2 = "lanqiao";
String s3 = new String("lanqiao");
String s4 = new String("lanqiao");
System.out.println(s1==s2);
System.out.println(s3==s4);
}
}
程序运行后的输出结果是( )
选项: A:true false
C:false false
D:false true
Why not try your luck downtown, Bob? That's___the best jobs are
选项: A:where
B:what
C:when
D:why
import java.io.*;
public class E {
public static void main(String args]) {
int n=-1;
File f =new File("hello.txt");
byte ] a="abcd".getBytes();
try{ FileOutputStream out=new FileOutputStream(f);
out.write(a);
out.close();
FileInputStream in=new FileInputStream(f);
byte ] tom= new byte3];
int m = in.read(tom,0,3);
System.out.println(m); //【代码1】
String s=new String(tom,0,3);
System.out.println(s); //【代码2】
m = in.read(tom,0,3);
System.out.println(m); //【代码3】
s=new String(tom,0,3);
System.out.println(s); //【代码4】
}
catch(IOException e) {}
}
}(2.0分)
s2 = new String();
s2 = "study hard.";
System.out.print(s1);
System.out.println(s2);
s2 = "learn english, too";
System.out.print(s1);
System.out.println(s2);
s2 = s1 + s2;
System.out.println(s2);
}
}
">15.6.阅读程序,写出运行结果public class StringUse {
public static void main(String] args) {
String s1, s2;
s1 = new String("Students should ");
s2 = new String();
s2 = "study hard.";
System.out.print(s1);
System.out.println(s2);
s2 = "learn english, too";
System.out.print(s1);
System.out.println(s2);
s2 = s1 + s2;
System.out.println(s2);
}
}
Where
B:When
C:Why
D:How
to
B:on
C:up
D:by