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 |
How to use string tokenizer class.
What is the symbol for average?
Why set is used in java?
What is Exception handling in Java How do you handle run time errors please explain with an example
When wait(), notify(), notifyall() methods are called does it releases the lock or holds the acquired lock?
what is a transient variable?
How many types of java are there?
What will be the default values of all the elements of an array defined as an instance variable?
Can we have a method name same as class name in java?
Write down program for following scenario. Use java coding standard. You have array list with some words in it..we will call it as dictionary….and you have a arbitrary string containing some chars in it. You have to go through each word of dictionary and find out if that word can be constructed with the help of chars from arbitrary string given. If you find the word print it else print none.
We are seeing so many videos/audios as many web sited. But question is these videos or audios are stored in Databases ( Oracle, Mysql, Sybase,... ) or stored any file directory from there they will give the link for that? Pls explain and give sample code to achieve this one? Thanks, Seenu.
What is use of arraylist in java?