what is difference between throw and throws in exception?
Answer Posted / ankur
throw is done manually where as throws is done by jvm
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do you define a parameter?
Can we catch more than one exception in single catch block?
How do you use compareto?
How does multithreading take place on a computer with a single cpu?
What is set string?
Why singleton is not thread safe?
What are the restrictions imposed on method overriding?
Is cout buffered?
Is array dynamic in java?
From the two, which would be easier to write: synchronization code for ten threads or two threads?
What do you understand by access specifiers in Java?
Explain about sets?
How does predicate work in java?
Write a program to print all permutations of string?
How to display all the prime numbers between 1 and n (n is the number, get the input from user)