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


Please Help Members By Posting Answers For Below Questions

How do you clear a list in java?

606


Can we declare the static variables and methods in an abstract class?

554


What is string buffer?

506


What is the buffer limit?

565


Is space a string in java?

515






What is passing value java?

514


what are the states associated in the thread? : Java thread

593


What is hash in java?

523


How do you decide when to use arraylist and linkedlist?

538


Is it possible for yielded thread to get chance for its execution again ?

555


Is java type safe?

515


What is hasnext in java?

580


Write an algorithm program in java for the following question.. 1) S is a set of integers.X is an integer obtained by sum of two digits in S. Write logic for whether or not the X is from the S. The time of algorithm should not exceed o(n logn).

1609


Is map sorted in java?

572


What’s the difference between applets and standalone program?

534