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.
Previous Question | Next 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? |