In what ways you can handle exception ?

Answer Posted / ravikiran(aptech mumbai)

using try catch
using throws for delegation of exceptions
using throw to define an exception

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you add and remove nodes in jtree?

608


Can I declare class as static or private?

536


What is the purpose of format function?

617


when you will synchronize a piece of your code? : Java thread

525


Can you explain the usages of class.forname()?

600






What all access modifiers are allowed for top class ?

703


Explain the selection sort algorithm?

635


What are the parts of methodology?

540


Why is it called a string?

557


How do you find the absolute value?

556


What is the technique adopted to create an immutable class?

519


What are thread priorities and importance of thread priorities in java?

620


What does the three dot emoji mean?

575


What is floating data type?

531


How do you define a singleton class?

494