What are MalformedURLException and UnknownHost Exceptions
and whey they will be thrown?

Answers were Sorted based on User's Feedback



What are MalformedURLException and UnknownHost Exceptions and whey they will be thrown?..

Answer / serhiy

malformed and unknowhost exceptions occures in case you
indicated wrong ULR or the host is down(can also occur if
DNS is down)

Is This Answer Correct ?    1 Yes 0 No

What are MalformedURLException and UnknownHost Exceptions and whey they will be thrown?..

Answer / ravikiran

runtime exceptions

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Core Java Interview Questions

What happens if I remove static from main method?

0 Answers  


What is collection class in java? List down its methods and interfaces.

0 Answers  


What are Normalization Rules? Define Normalization?

0 Answers  


How many arguments can a method have java?

0 Answers  


Difference between ‘is-a’ and ‘has-a’ relationship in java?

0 Answers  






Can a main method be overloaded?

0 Answers  


What do negative exponents mean?

0 Answers  


How to declare objects of a class ?

0 Answers   Akamai Technologies,


Difference between this() and super() ?

0 Answers  


What is difference between identifier and variable?

0 Answers  


How big is a 64 bit float?

0 Answers  


What is an Exception ?

9 Answers  


Categories