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 is the use of singleton class?

0 Answers  


Explain final, finalize() and finally?

11 Answers   Accenture, TCS,


What are the various access specifiers in java?

0 Answers  


What is the blank final variable?

3 Answers  


What is nullpointerexception in java?

0 Answers  






If try block is successfully executed, Then Is Finally block executed?

0 Answers   PUCIT,


When is the finally clause of a try-catch-finally statement executed?

0 Answers  


can we access the method of class without creating the object of the class

3 Answers  


What is a pattern what is an anti pattern?

0 Answers  


What is a layout manager?

1 Answers  


How do you check if a string contains only numeric digits?

0 Answers  


What are constructors in java?

0 Answers  


Categories