可学答题网 > 问答 > Java认证考试综合练习题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

A UNIX user named Bob wants to replac


A UNIX user named Bob wants to replace his chess program with a new one,but he is hot sure where the old one is in stalled.Bob is currently able to run a Java chess program starting from his home directory/home/bobusingthecommand: java-classpath/test:/home/bob/downloads/*.jargames.ChessBob’sCLASSPATHisset(atlogintime)to: /usr/lib:/home/bob/classes:/opt/java/lib:/opt/java/lib/*.jar What is a possible location for the Chess.class file?()

  • A/test/Chess.class
  • B/home/bob/Chess.class
  • C/test/games/Chess.class
  • D/usr/lib/games/Chess.class
  • E/home/bob/games/Chess.class
  • Finside jarfile/opt/java/lib/Games.jar(withacorrectmanifest)
  • Ginside jarfile/home/bob/downloads/Games.jar(withacorrectmanifest)
参考答案
参考解析:
分类:Java认证考试综合练习题库