Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within OCPJP
Search Coderanch
Advance search
Google search
Register / Login
Win a copy of
Eclipse Collections Categorically: Level up your programming game
this week in the
Open Source Projects
forum!
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Ron McLeod
Jeanne Boyarsky
Sheriffs:
Paul Clapham
Saloon Keepers:
Tim Holloway
Roland Mueller
Bartenders:
Forum:
Programmer Certification (OCPJP)
throw and throws
vignesh kaladi
Greenhorn
Posts: 5
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
hi ,
What is the diff. between the throw and throws
Srinivas Tuta
Greenhorn
Posts: 10
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
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.
Srinivas
SCJP1.4
[ February 02, 2006: Message edited by: Srinivas Tuta ]
I've got no option but to sell you all for scientific experiments. Or a tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Difference
throws and throw
throw throws
Throws and throw
diff b/w Throw and Throws
More...