what is throws keyword



what is throws keyword..

Answer / m.shanmuga sundaram(rjnsoftwar

When you don't want/need to catch an exception explicitly
using the try...catch block,use throws keyword.

void ReadMyFile()throws IOException
{

}

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Programming Languages AllOther Interview Questions

Wrtite a JCL for sorting a file with start from 36 postion lenth 9 excluding a num eq to 98768. for 3 marks mainframe

0 Answers  


what do you man by firmware

4 Answers  


what is meant by trigger?

8 Answers   IBM,


Given an array all of whose elements are positive numbers, find the maximum sum of a subsequence with the constraint that no 2 numbers in the sequence should be adjacent in the array. So 3 2 7 10 should return 13 (sum of 3 and 10) or 3 2 5 10 7 should return 15 (sum of 3, 5 and 7)

0 Answers   Amazon,


along with oracle which language will be beneficial to have knowledge with,java,.net,since i m doing oracle have appeared for 8th sem BEIT,plz suggest

0 Answers  






In Java what is the difference between following two statements ? int a[],b; int []a,b;

1 Answers  


Explain three modes in which files can be accessed from python program

0 Answers   Peerless,


what is integration testing in real time applications?

0 Answers   CTS,


There are 2 tables: EMP : EmpId, Ename, Sal, DeptId DEPT : DeptId, Dname Write a query to find out emp names and their department names. if any emp has null in Deptid the it shows ?No Department?. Write a query to find out those department names which has no employee. Write a query to find out those employees whose salary is greater than their department?s average salary.

1 Answers   Oracle,


what is radio button? Plz show code this! how will select radio buttons to go next window Forms? Supose o radio button1 o radio button2 o radio button3 o radio button4 how will coding this? Plz explain this!

0 Answers  


what are the top level class of interface in java?

2 Answers   Satyam,


What is SOLID Principle in Programming Language?

0 Answers   NA,


Categories