试题详情
单项选择题 Which statement, at line 16, retrieves an InputStream for the file /WEBINF/ nyresrc.bin()?

A、 new InputStream(“/WEB-INF/nyressrc.bin”);

B、 ctx.getInputStream(“/WEB-INF/nyresrc.bin”);

C、 ctx.getresourceAsStream(“/WEB-INF/nyresrc.bin”);

D、 new InputStream(“/WEB-INF/nyresrc.bin”);

E、 getClass().getResourceAsStream(“/WEB-INF/nyresrc.bin”);

  • C
  • 关注下方微信公众号,在线模考后查看

热门试题