下列哪一个不属于正则表达式限定符( )
A. {n,m}
B. {n,}
C. {n}
D. {$}
TCP/IP协议层的网络接口层对应OSI的( )
A. 物理层
B. 链路层
C. 网络层
D. 物理层和数据链路层
阅读下面的Java程序,以下说法正确的是( )
public class TryTest2 {
public static boolean catchMethod(){
System.out.println(false);
return false;
}
public static boolean finallyMethod(){
return true;
}
public static boolean test(){
try {
int i = 10/0;
return true;
}catch (Exception e){
return catchMethod();
}finally {
return finallyMethod();
}
}
public static void main(String[] args) {
System.out.println(test());
}
}
A. 编译错误
B. false true false
C. false true true
D. false