Sr.Java Web Developer Question:

What is String toString()?

Answer:

This method returns the information in String format. The returned String contains the name of Throwable class and localized message.

Read All 64 Sr.Java Web Developer Questions
Previous QuestionNext Question
Please explain can we write multiple catch blocks under single try block?Tell me when will you use Servlet and JSP or MVC framework?