Courses
LoginStart now
Courses
LoginStart now
+ 1

Throw and throws

What is the difference between them and which one is better?

java
1st Aug 2020, 4:28 AM
Zwe Thu
Zwe Thu - avatar
3 Answers
+ 10
You can refer this once again :) https://www.sololearn.com/learn/Java/2176/?ref=app
1st Aug 2020, 4:31 AM
Aditya
Aditya - avatar
+ 3
Might be helpful: https://www.sololearn.com/Discuss/31040/difference-between-throws-and-throw-keyword https://www.sololearn.com/Discuss/130285/what-is-difference-between-throw-and-throws https://www.sololearn.com/Discuss/43236/what-is-difference-between-throw-and-throws https://www.sololearn.com/Discuss/2295663/what-is-difference-between-throws-and-throw https://www.sololearn.com/Discuss/571336/what-is-the-difference-between-throw-and-throws https://www.sololearn.com/Discuss/57383/what-is-the-difference-between-throw-throws https://www.sololearn.com/Discuss/1168216/difference-between-throw-and-throws
1st Aug 2020, 4:34 AM
Adnan Chowdhury
Adnan Chowdhury - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
Fix code
0 Votes
Fast coding (mobile)
1 Votes
..
1 Votes
Beginner_to_SoloLearn
2 Votes
How to learn C++ and how long does it take
1 Votes
Coding help
2 Votes
DSA doubt
1 Votes
Bridge pattern use case
0 Votes
Recover challenge history
0 Votes
Data structure using C
0 Votes