欢迎来到PP题库网 PP题库官网
logo
全部科目 > Java认证考试 > SCJP程序员认证考试

单项选择题

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 installed. Bob is currently able to run a Java chess program starting from his home directory /home/bob using the command: 
java -classpath /test:/home/bob/downloads/* .jar games.Chess 
Bob‟s CLASSPATH is set (at login time) 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
    F. inside jarfile /opt/java/lib/Games.jar (with a correct manifest)
    G. inside jarfile /home/bob/downloads/Games.jar (with a correct manifest)

点击查看答案&解析

相关考题

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

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