wood burning stoves*
The moose likes Beginning Java and the fly likes java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "java" Watch "java" New topic
Author

java

d one 2 die 4
Greenhorn

Joined: May 14, 2003
Posts: 4
write a programe that throws an exception when the user doesnot enter any argument at the command line the programe shud also display teh number of argument?
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
Why not trying doing your own homework?


Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Donald R. Cossitt
buckaroo
Ranch Hand

Joined: Jan 31, 2003
Posts: 401
"deja vu all over with again" - Yogi Berra
This may help.


doco
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
This forum is intended for discussion about the running of JavaRanch.
Moving to Beginner.


"JavaRanch, where the deer and the Certified play" - David O'Meara
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9044
    
  10
Originally posted by madjava user (a.k.a d one 2 die 4):


Welcome to JavaRanch! Please adjust your display name to meet the JavaRanch Naming Policy.
You can change it here.

Thanks!


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Rick Gentry
Ranch Hand

Joined: Dec 14, 2002
Posts: 63
Hmmm, code that shows an exception...

edited by Marilyn to remove insults. Be nice!
[ May 25, 2003: Message edited by: Marilyn de Queiroz ]
John Lee
Ranch Hand

Joined: Aug 05, 2001
Posts: 2545
i think you can find sample code in just any java introduction books.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: java