What is the difference between throw and throws?
What is the similarity between try and throw?
Answer Posted / amar
throw is a statement level.throws is a method level.
In manual exception handling,we can also use the throws to
handle the excepions by the jvm,insted of handling there.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is a substring of a string?
What is difference between public static and void?
How many types of threads are there in java?
What does you mean in math?
What is the structure of java?
What does 3 dots mean in java?
For ease of programming you can consider the maze as a 2D array with colors represented by below integer and characters (in capital letters). • B - Black • W -White • G- Green • R- Red R B W B W W W W W W B W B B W W W W W W W B W B W W W B W W W W B B W W W B W W W B W W B B B B W B W B W W B W W W B W W W B B B W W B W W W B W W B W B W W W B W B W W W W B B W W W W B W W W W W G Shortest Route Problem: • Solution that finds the shortest Route between Red and Green White will have 1 Weight. Red and Green carry no weights. Shortest path is the path with less weight when you add up the weights in the path.
How java uses the string and stringbuffer classes?
How does list work in java?
Does set allows null in java?
What is map java?
Can we clone singleton class in java?
Why does java not support pointers?
What do you mean by aggregation?
What is java in layman terms?