Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java

 
d one 2 die 4
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why not trying doing your own homework?
 
Donald R. Cossitt
buckaroo
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"deja vu all over with again" - Yogi Berra
This may help.
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This forum is intended for discussion about the running of JavaRanch.
Moving to Beginner.
 
Marilyn de Queiroz
Sheriff
Posts: 9067
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
Rick Gentry
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2545
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i think you can find sample code in just any java introduction books.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic