Link to home
Create AccountLog in
Avatar of Ghyths
Ghyths

asked on

What's the different between RunTimeException and Exception?

Hi Experts,

What's the really different between RunTimeException and Exception?



Regards
G
SOLUTION
Avatar of loopfinity
loopfinity

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of Ghyths
Ghyths

ASKER

Does Runtime Exceptions  handleable ?
SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of Ghyths

ASKER

So The RuntTimeException is the Exception that happened during running the code, somehow RunTimeException is a sub define if exception, isn't it ?
SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of Ghyths

ASKER

What I understood from all experts here are;

- Compiler wouldn't allow the program to be compiled where an Exception there, but it would allow if RunTimeException there.
-RunTimeException might accrue during the execution of the application and it would effect the performance.
-RunTimeException; a sub class of the exception.


isn't it ?
ASKER CERTIFIED SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of Ghyths

ASKER

Thanks, got it