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


can u handle an error if u write Thowable in the catch
class lise

try
{
some errorneous code
}catch(Throwable e){ ...}

Answers were Sorted based on User's Feedback



can u handle an error if u write Thowable in the catch class lise try { ..

Answer / aseet padhi

yes.We can handle by using Throwable in catch block because
it's super class of Exception.

Is This Answer Correct ?    11 Yes 0 No

can u handle an error if u write Thowable in the catch class lise try { ..

Answer / ajay dhingra

Yes we can handle exception or error using throwable in
catch because Throwable is super class of all error and
exception.

Is This Answer Correct ?    8 Yes 1 No

can u handle an error if u write Thowable in the catch class lise try { ..

Answer / papu

Yes we can handle the exception using Throwable in catch
block.There is no compilation error.

Is This Answer Correct ?    3 Yes 2 No

can u handle an error if u write Thowable in the catch class lise try { ..

Answer / manju kt

No u cant because u cannot compile classes with errors

Is This Answer Correct ?    0 Yes 8 No

Post New Answer

More Core Java Interview Questions

Difference between string s= new string (); and string s = "abv";?

0 Answers   Cap Gemini,


Why unicode is important?

0 Answers  


What is the use of an interface?

3 Answers  


What are File and RandomAccessFile classes?

2 Answers  


Why do we need public static void main(String args[]) method in Java...?

1 Answers  


Why destructor is not used in java?

0 Answers  


Where are the local variables stored?

0 Answers  


What steps are taken when the OS shifts from one-thread execution to another?

0 Answers   Amazon,


Is age discrete or continuous?

0 Answers  


I was asked to draw the class diagram for the below scenario which should obey OOPS concept. A Portal is to be developed for a school , which has 3 main divisions viz , Education , Admin & Trust. Each division has 2 sub divisions Kinder Garden & Higer Secondary.

3 Answers   Amtek, Huawei,


How do you find the maximum number from an array without comparing and sorting?

0 Answers   BlackRock,


Variable of the boolean type is automatically initialized as?

0 Answers  


Categories