Sr.Java Web Developer Question:

What is String toString()?

Tweet Share WhatsApp

Answer:

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

Download Sr.Java Web Developer PDF 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?