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

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

Answer Posted / manju kt

No u cant because u cannot compile classes with errors

Is This Answer Correct ?    0 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the main function in java?

524


What is passing parameters in java?

509


What is the final keyword?

548


What is purpose of find feature?

604


What is a priority queue java?

515






What is the difference between keyword and identifier?

525


Give example to differentiate between call by value and call by reference.

588


Can a java program have 2 main methods?

541


Does treeset allow null in java?

504


Can abstract class have private constructor?

493


What is the difference between the boolean & operator and the && operator in java programming?

560


Can I extend singleton class in java?

618


What is private static in java?

573


What does @param args mean in java?

546


What is a conditional equation?

558