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 |
how to get second highest salary from a employee table and how get a 5th highest salary from a employee table by using proc sql?
Where do we need Operator overloading?
Hi all... I had completed MSC(Computer) and had join the construction company based on sap.they want me to work on abap.but software company is totally different from construction company and they want me 2 grasp it as fast i can.i am finding it difficult.what should i do??????
kindly send interview materials
What is algorithm in SCD Type2(SAS DI Studio Transformaton)?
what is log files in qtp what is use
what is woransient key word? how it is used in java
Have you used callsymputx? what points need to be kept in mind when using it?
What is WEB 3.0? What are the features their in WEB3.0
What are events in smartforms?
what is the difference between read the data from table and infotype
How to get the index of the clicked field in reports in ABAP?