What is try ? ,Java, C ,C++, ASP, ASP.net C# ,Struts ,Questions & Answer, Struts2, Ajax, Hibernate, Swing ,JSP , Servlet, J2EE ,Core Java ,Stping, VC++, HTML, DHTML, JAVASCRIPT, VB ,CSS, interview ,questions, and answers, for,experienced, and fresher
What is try ?

try is the basically as a Java keyword that defines a block of statements that may throw a Java language exception. If an exception is thrown, an optional catch block can handle specific exceptions thrown within the try block. Also, an optional finally block will be executed regardless of whether an exception is thrown or not.

More interview questions and answers
How can i use Get Method ? and why we use this method?
Should I use ServerSocket or DatagramSocket in my applications?
How to use Line Break and Horizontal Line tags in HTML?
How you achieve text formatting in HTML?
What are the output tags?
How do I get the IP address of a machine from its hostname?
What is the Java Authentication and Authorization Service (JAAS) 1.0?
What�s the difference between JNDI lookup(), list(), listBindings(), and search()?
Components of JNDI ?
What is the Max amount of information that can be saved in a Session Object?
Must my bean-managed persistence mechanism use the WebLogic JTS driver?
Do EJBs have to be homogeneously deployed across a cluster? Why?
Is an XSLT processor bundled in WebLogic Server?
I plugged in a version of Apache Xalan that I downloaded from the Apache Web site, and now I get errors when I try to transform documents. What is the problem?
What is the function of T3 in WebLogic Server?
How do I convert a numeric IP address like 192.19.98.38 into a hostname like java.sun.com?
How can I find out the current IP address for my machine?
How do I perform a hostname lookup for an IP address?
How can I find out who is accessing my server?
What are socket options, and why should I use them?
When my client connects to my server, why does no data come out?
What is the cause of a NoRouteToHostException?
How can I fetch files using HTTP?
How do I use a proxy server for HTTP requests?
What is a malformed url, and why is it exceptional?
How do I prevent caching of HTTP requests?
How do I handle timeouts in my networking applications?
How do I control the amount of time a socket will linger before resetting?
What does the java.net.Socket.setTcpNoDelay method do, and what is Nagle\'s algorithm?
How do I implement a (FTP/HTTP/Telnet/Finger/SMTP/POP/IMAP/..../) client/server?
How do I implement PING in Java?
How can I send/receive email from Java?
How you define elements in HTML?
What is TCP/IP ?
What is Technology Compatibility Kit (TCK) ?
What is thin client ?
What is \'this\' ?
What is thread ?
What is throw ?
What is throws ?
What is transaction ?
What is transaction isolation level ?
What is transaction manager ?
What is transient ?
What is try ?
What is type ?
What is Unicode ?
What is URI ?
What is URL ?
What is URN ?
What is variable ?
What is virtual machine ?
What is void ?
What is volatile ?
What is Web server ?
What is while ?
What is world readable files ?
What is wrapper ?
What is ACID ?
What is Embedded Java Technology ?
What is class method ?
What is class variable ?
What is constructor ?
What is this?
What is the nested element in HTML?
What is Empty HTML element?
HTML is case sensitive or not?
What is URL path ?
What is user data constraint ?
What is user (security) ?
What is validating parser ?
What is value-binding expression ?
What is virtual host ?
What is W3C ?
What is WAR file ?
How you define Attributes in HTML?
What is Web application ?
What is Web component ?
What is Web module ?
What is Web resource ?
Attibutes names and their values are case-sensitive or not?
How you define HTML Attribute Reference?
How you define HTML Style Attribute in HTML?
What are the Deprecated Tags and Attributes?
How you define HTML link?
What are the Hyperlink,Anchors and Link in the HTML?
How you define href,target and name Attributes?
How to link the Images with in HTML?
How we define Src Attribute and Alt Attribute in HTML?
How to create tables in HTML?
How to create headings and empty cells in table?
Write some useful table tags that we use in HTML?
How you define list in HTML?
What\'s Java Swing?
What is JFC?
What is AWT?
What are the differences between Swing and AWT?
What are heavy weight components ?
How you understand about Forms output?
What is lightweight component?