Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


is try block possible without catch block?

Answers were Sorted based on User's Feedback



is try block possible without catch block?..

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

is try block possible without catch block?..

Answer / pooja prasad

Yes it is. But try should follow final block.

Is This Answer Correct ?    0 Yes 0 No

is try block possible without catch block?..

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

Post New Answer

More Programming Languages AllOther Interview Questions

hoe to data grid use in sql server 2000?

0 Answers   HCL,


what is the use of check point

1 Answers   HP,


What is a must for multitasking? a) Process preemption b) Paging c) Virtual memory d) None of the above

9 Answers   InterGraph,


what is the software to run the GSM gate opener program

0 Answers  


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?

1 Answers   TCS,


Number of null pointers in any binary tree

5 Answers   Infosys,


What is autocall macro and how to create autocall macro? what is the use of it?

0 Answers   GE,


what is jackson structured develepment?? and how is it different from OMT??

1 Answers  


In staad pro, how can we design ROOF SLAB?

0 Answers   L&T,


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

0 Answers  


hi, i'd like to know how do you set lines in a page for Smartforms? thanks in advance

1 Answers   SAP Labs,


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!!!!!!!!

0 Answers  


Categories