is try block possible without catch block?
Answers were Sorted based on User's Feedback
Answer / patil chaitanya
try
{
}
//without catch block
this ts not possible.
But
we can write the finally block below the try block.
Then try block possible without catch block.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / pooja prasad
Yes it is. But try should follow final block.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / t chinna shareef
Yes it is possible.
class Test{
public static void main(String[] args)throws Exception
try{
System.out.println("try without catch..!");
System.out.println(10/0);
}
finally{
System.out.println("Shareef");
}
}
}
| Is This Answer Correct ? | 0 Yes | 0 No |
hoe to data grid use in sql server 2000?
what is the use of check point
What is a must for multitasking? a) Process preemption b) Paging c) Virtual memory d) None of the above
what is the software to run the GSM gate opener program
in a company 30% are supervisors and 40% employees are male if 60% of supervisors are male. what is the probability that a randomly choosen employee is a male or female?need steps to solve this?
Number of null pointers in any binary tree
What is autocall macro and how to create autocall macro? what is the use of it?
what is jackson structured develepment?? and how is it different from OMT??
In staad pro, how can we design ROOF SLAB?
I have try to write a record in a TDQ from a fle.... what are the steps to do... can anybody plz come with a solution
hi, i'd like to know how do you set lines in a page for Smartforms? thanks in advance
I m new to the dbms. Recently i came across words clustered indexes & nonclustered indexes but i dont know what is this all about & whats the difference between them.. So please help me!!!!!!!!