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

it is a language or tools?

0 Answers  


difference between mantis and other tools?

0 Answers  


how can i apply validation without using errorprovider in C# windows application

1 Answers  


where is available in this mantis toturials?

0 Answers  


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?

0 Answers   Honeywell,


how we can call xml file in java file using Android platform?

2 Answers   TCS,


what are partial classes. Where is the entry point of partial classes.

1 Answers   Satyam,


hi friends please tel me how to handle the recovery manager(All i.e PopUp ,Application Crach ,Object state,etc) in QTP

1 Answers   IBM,


What is the merger sort principle and its time complexity.

0 Answers   Verifone,


how can i split string in a textbox in windows appication using C#.net

0 Answers   IBM,


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?

0 Answers   Steria,


What is the client concept in SAP? What is the meaning of client independent?

3 Answers  


Categories