Meaningless Drivel is fun!
The moose likes Distributed Java and the fly likes exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Reply locked New topic


shan gadhavi

Joined: Sep 12, 2007
Posts: 1
is devided by zero a exception?
Freddy Wong
Ranch Hand

Joined: Sep 11, 2006
Posts: 959


Welcome to JavaRanch

You posted your question in the wrong forum. Anyway, to answer your question, if you divide something by zero, you'll get a RuntimeException (java.lang.ArithmeticException).

SCJP 5.0, SCWCD 1.4, SCBCD 1.3, SCDJWS 1.4
My Blog
I agree. Here's the link:
subject: exception
jQuery in Action, 3rd edition