This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
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
wood burning stoves
subject: exception
It's not a secret anymore!