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 |
it is a language or tools?
difference between mantis and other tools?
how can i apply validation without using errorprovider in C# windows application
where is available in this mantis toturials?
It is possible to take number of controls added to form at run-time.ex-when user enter 6, 6 text boxes get added to form,next time number of controls get change as per user number enter. What is code for that?
how we can call xml file in java file using Android platform?
what are partial classes. Where is the entry point of partial classes.
hi friends please tel me how to handle the recovery manager(All i.e PopUp ,Application Crach ,Object state,etc) in QTP
What is the merger sort principle and its time complexity.
how can i split string in a textbox in windows appication using C#.net
1. How many jobs can we write in a single file? 2. How many maximum members can exist in a single partition data set(pds) in jcl?
What is the client concept in SAP? What is the meaning of client independent?