What is the difference between throw and throws?
What is the similarity between try and throw?
Answer Posted / giri
throw is used to throw an exception manually, where as
throws is used in the case of checked exceptions
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
How do you control extraneous variables?
What is the basic concepts of OOPS?
Can you instantiate the math class in Java?
What is keyset in java?
What does the three dot emoji mean?
What are the types of strings?
Which java ide is used the most?
Write a program to print all permutations of string?
How do you use nextline in java?
When a byte datatype is used?
What is the difference between actual and formal parameters?
Differentiate between stringbuffer and stringbuilder in java.
Hi all, I am dng a mini project on FileSplitter application which splits the GBs of logfile into Smaller chunks(mbs) depending on the split size." How to handle GBs file? I am getting OutOfMemoryException, when I input such GB sized file. Thx
What is arraylist class in java?
What is serialization in java?