What is the difference between throw and throws?
Answer Posted / nashiinformaticssolutions
C++ only has throw. throws is used in Java for declaring exceptions.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is equals method in java?
What are internal variables?
What is the buffer limit?
Break statement can be used as labels in java?
What restrictions are placed on method overriding in java programming?
What package is math in java?
How many types of operators are there?
Can java hashmap have duplicate keys?
Explain what is encapsulation?
Add a value x to array from index l to r where 0 <= l <= r <= n-1
What are register variables what are the advantages?
How does indexof work?
Define nashorn in java8.
How do you check if two strings are equal in java?
Why is java so popular?