what is throws keyword

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How to print No.of.rows affected after updation using ADO.Net

2470


1.Mutating table

1378


it is a language or tools?

1617


I need to fetch all rows from the table based one field value in the table and later do a condition check if the condition is true I will have to move all the rows present in the data base to output file one else if the condition is not satisfied then move all the records of that field value into another file .Please let me know how to do that

1646


Write a shell program where you enter a number which corresponds to K.M. Find out the corresponding values in m, cm, inches, and feet. Hints:- 1 k.m= 1000 m 1 m= 100 cm 1 inches= 2.54 cm. 1 feet= 12 inches

1516






how can we implement locks in plsql?

1783


I want Ada programming language books. Could anyone post me any link for that?

2940


diffrence between oracle apps , .NET , SAP

1598


You are given a dictionary of all valid words. You have the following 3 operations permitted on a word: delete a character, insert a character, replace a character. Now given two words - word1 and word2 - find the minimum number of steps required to convert word1 to word2. (one operation counts as 1 step.)

591


how do we provide security for web services

1798


what is d main diff between the java and .net framework

1542


How many forms can you create in a Visual Basic 6 Standard EXE project? Is there any limit on that?

1534


Can any one give an example (Source Code) on virtual function implemetation in Java?

1495


what is the current salary package in India for a lamp programmer

1872


iam confused among testing ,.net and java. can anybody help me.

1570