A.had
B.haves
C.have
D.are having
A.Socket s = new Socket(“www.openlab.com.cn”, 13); EzJB /KQ
B.Socket s = new Socket(“www.openlab.com.cn:); Ys mneWR
C.Socket s = accept(“www.openlab.com.cn”, 13); %dT/3%yA
D.Socket s = accept(“www.openlab.com.cn:); %dT/3%yA
import java.io.*;
public class abc
{
public static void main(String args[ ])
{
AB s = new AB("Hello!","I love JAVA.");
System.out.println(s.toString());
}
}
class AB
{
String s1;
String s2;
AB (String str1 , String str2 )
{
s1 = str1;
s2 = str2;
}
public String toString() { return s1+s2;
}
}
设A=(1,2,3,4),R=((1,2),(2,4),(3,3)),S=((1,3),(2,4),(4,2)).