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

What is data type modifier?

0 Answers  


What is the use of a copy constructor?

0 Answers   Flextronics,


Why do we need autoboxing in java?

0 Answers  


Can we declare a static variable inside a method?

0 Answers  


Can a singleton class be inherited?

0 Answers  


How to declare unique ArrayList ?

6 Answers   RMSI,


Why does abstract class have constructor?

0 Answers  


What are 3 data types?

0 Answers  


What are the differences between the constructors and methods?

0 Answers  


What is the length of a string?

0 Answers  


what do you understand by synchronization? : Java thread

0 Answers  


Explain spliterator in java8?

0 Answers  


Categories