欢迎来到牛牛题库网 牛牛题库官网
logo
全部科目 > 大学试题 > 计算机科学 > Java考试 > JSP考试

多项选择题

下列自定义拦截器代码语法正确的是()。

A.public class MyInterceptor implements Interceptor {public String intercept(ActionInvocation invocation)throws Exception {…}}
B.public class MyInterceptor extends AbstractInterceptor {public String intercept(ActionInvocation invocation)throws Exception {…}}
C.public class MyInterceptor implements Interceptor {public void init(){…}public String intercept(ActionInvocation invocation)throws Exception {…}}
D.public class MyInterceptor extends AbstractInterceptor {public void init(){…}public String intercept(ActionInvocation invocation)throws Exception {…}}

点击查看答案&解析
微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题