What is the difference between throw and throws?

Answer Posted / nashiinformaticssolutions

C++ only has throw. throws is used in Java for declaring exceptions.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between JDBC 1.0 and JDBC 2.0?

2889


What is struts in java?

792


Is 0 true or is 1 true?

697


Can a constructor be protected?

762


How do you create a method in java?

711


What does index mean in java?

715


What do you mean by garbage collection used in java?

777


Difference between static binding and dynamic binding?

769


What is difference between path and classpath in java?

684


Can inner class final?

857


what do you understand by synchronization? : Java thread

763


Is 0 true or false in java?

715


What are java methods?

780


Can an interface be defined inside a class?

722


Which is bigger float or double java?

723