File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes [B&S]is the mode optional? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "[B&S]is the mode optional?" Watch "[B&S]is the mode optional?" New topic

[B&S]is the mode optional?

he qinfeng

Joined: Sep 13, 2003
Posts: 23
Hi everyone:
How should I understand the introduction:

"When you submit your assignment, each part (client and server) must be executable using a command of this exact form:
java -jar <path_and_filename> [<mode>]"

it means that the <jarname> is required,the [mode] is optional and all classes of the client and server needn't have the mode flag?
Thanks for your answer.

SCJP<br />SCJD(in progress)
Clivant Yeo
Ranch Hand

Joined: May 22, 2004
Posts: 124
I understand it as you can enter the command line with mode or entered without the mode flag.

Clivant Yeo
My Personal Website
Charlie Goth
Ranch Hand

Joined: Feb 26, 2004
Posts: 60
The mode is optional in that the application will run in client mode when no mode is specified.

SCJP (77%)
he qinfeng

Joined: Sep 13, 2003
Posts: 23
thank,I understand
I agree. Here's the link:
subject: [B&S]is the mode optional?
It's not a secret anymore!