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 |
without selecting individually each field in Action Class from jsp,what is the best process to select as many as field at a time automatically from jsp page by using value object class.
1.Describe about your project?
How to use string functions in QTP?give some examples
Please forward important interview and basic questions in VB6 on my email id: usneha_16@yahoo.co.in
Can any one give an example (Source Code) on virtual function implemetation in Java?
Tell me the jobs for the MCA Fresher in delhi, Noida..
what is programming language?
what is the difference between Windows application and Unix application?
MOV.CB 007H,ADCON1 MOVE.CT 001H,_OPTION_REG_7 MOV.CB 007H,CMCON
how do i add a column dynamically in a table by using java application?
what is best way to create a Thread class & why?
how do you generate source code for the automatic generation for receipt number