black

SCJP程序员认证考试

登录

单项选择题

Given a correctly compiled class whose source code is:

Assume that the class file is located in /foo/com/sun/sjcp/, the current directory is /foo/, and that the classpath contains "." (current directory).  
Which command line correctly runs Commander?()

A.java Commander
B.java com.sun.sjcp.Commander
C.java com/sun/sjcp/Commander
D.java -cp com.sun.sjcp Commander
E.java -cp com/sun/sjcp Commander

相关考题

单项选择题 Aclassgames.cards.PokeriscorrectlydefinedinthejarfilePoker.jar.AuserwantstoexecutethemainmethodofPokeronaUNIXsystemusingthecommand:javagames.cards.PokerWhatallowstheusertodothis?()

单项选择题 What is the result?()

多项选择题 What two must the programmer do to correct the compilation errors?()

All Rights Reserved 版权所有©求知题库网库(csqiuzhi.com)

备案号:湘ICP备14005140号-1

经营许可证号:湘B2-20140064