what is difference between throw and throws in exception?
Answer Posted / sakariya vikram
through is user defind exception this is created by user and
throughs is a jvm(system) defined exception.
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
How the metacharacters are different from the ordinary characters?
how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? Or extending thread class or implementing runnable interface. Which is better? : Java thread
How a string is stored in memory?
What are format specifiers in java?
Will the compiler creates a default constructor if I have a parameterized constructor in the class?
How many wrapper classes are there in java?
What does the three dot emoji mean?
What is multiple inheritance? Is it supported by java?
What type of variable is error flag?
Which one of the following suits the description of a string better: derived or primitive?
How do you check whether the list is empty or not in java?
Is it correct to say that due to garbage collection feature in java, a java program never goes out of memory?
what is instanceof operator used in java?
What is a flag variable?
Which category the java thread do fall in?