Sr.Java Web Developer Question:

Download Job Interview Questions and Answers PDF

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.

Download Sr.Java Web Developer Interview Questions And Answers PDF

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?