A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
this week in the
Programmer Certification (SCJP/OCPJP)
throw and throws
Joined: Feb 01, 2006
Feb 02, 2006 16:53:00
What is the diff. between the throw and throws
Joined: Oct 12, 2005
Feb 02, 2006 18:16:00
using throw you can throw an exception.
when u say a method throws an execption, u are reporting the compiler that the method is capable of throwing an exception, which you are not catching.
[ February 02, 2006: Message edited by: Srinivas Tuta ]
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: throw and throws
throws and throw
Throws and throw
diff b/w Throw and Throws
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014