What are MalformedURLException and UnknownHost Exceptions
and whey they will be thrown?
Answers were Sorted based on User's Feedback
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 the differences between throw and throws?
Is singleton set an interval?
What is an immutable object?
What is fail first in java?
What do you mean by JVM?
How do you achieve singleton?
How does callback work in java?
What do you mean by inner class in java? Explain
Map map = new HashMap(2); map.add(“1”,”one”); map.add(“2”,”two”); map.add(“3”,”three”); What will happen at this line?
What is literal example?
What is a java applet? What is an interface?
What type of language is java?