Sr.Java Web Developer Question:

What is String toString()?

Sr.Java Web Developer Interview Question
Sr.Java Web Developer Interview Question

Answer:

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


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?