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 |
what diffrence between procedure and function?
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!!!!!!!!
What is the difference between an EXE and a DLL?
3 Answers ABC, Hykin Solutions, Infoedge, Infosys, Polaris,
hi this is uday i want prepare for nic exam if any one have previous question papers please send me or atlest guide me how to prepare my ID is udaykiran4u@in.com
what do u mean by html
What is meant by STACK?
how we can connect applet with database?
what is the software to run the GSM gate opener program
in IT trend mantis meant what? how to know mantis in IT trends? detail description about mantis?
0 Answers Sacred Heart College,
What is the worst case of AVL tree?
Hi, I'm doing B.com 3rd year. Simultaneously I'm doing software engineering in a private institution. I would like to know whether my B.com graduation alone is enough to get me a job in the IT field or should I do some PG course not MBA... suggest me...
Tell me the jobs for the MCA Fresher in delhi, Noida..