Results 1 to 5 of 5

Thread: Java : Difference between the Checked and Unchecked Exception

  1. #1
    Join Date
    Jan 2010
    Posts
    19

    Java : Difference between the Checked and Unchecked Exception

    Hi all, I am new to the Java programming language. I have very good knowledge about the C and C++ programming. I do not know anything about the Checked and Unchecked Exceptions. So, want to know about the Difference between the Checked and Unchecked Exceptions of JAVA. I also want to know about how Checked and Unchecked Exceptions can be worked in the JAVA programming language. If anyone knows about the Checked and Unchecked Exceptions then reply immediately.

  2. #2
    Join Date
    Apr 2008
    Posts
    1,948

    Difference between the Checked and Unchecked Exception

    Hello, In JAVA, the defects that can be present in the program can be represented by the Unchecked Exception, that can be the argument passed to a method that can not be private. According to the Arnold, Holmes and Gosling, The conditions that can the errors that can be present in the logic of your program and that error can not be recovered at run-time represented by the Unchecked Exception.

  3. #3
    Join Date
    May 2008
    Posts
    2,012

    Java : Difference between the Checked and Unchecked Exception

    Hi, The invalid conditions outside the immediate control of the program can be represented by the Checked Exception such as the absent files, network outages, database problems, invalid user input. The Checked Exceptions can be the sub-classes of the Exceptions. I hope you understand from the above explanation. If you can not get then reply me.

  4. #4
    Join Date
    Apr 2008
    Posts
    2,005

    Checked and Unchecked Exception

    Hello, In JAVA there can be the two kinds if the exceptions such as the Unchecked Exceptions and Checked Exceptions. So, these two types of the exceptions can be based on the checking of exceptions at the compile time. There can be also a classification that can be the based on Run-Time in JAVA, such as the synchronous and asynchronous exceptions. I think You can understood from this information.

  5. #5
    Join Date
    May 2008
    Posts
    2,297

    Difference between the Checked and Unchecked Exception

    The Exception can have the subclass that can be as the Checked Exception, avoiding the class Run-time Exception and all of its subclasses. The programmers of the client can be forced by building the exceptions to deal the possibility that can be thrown by the exception. The Unchecked exceptions can be the Run-Time Exceptions and any of can be its subclass. Class Error and its subclasses also are unchecked.
    Last edited by Zecho; 08-02-2010 at 06:21 PM.

Similar Threads

  1. Exception in Java Web Start
    By Jaganmohini in forum Software Development
    Replies: 6
    Last Post: 27-07-2010, 01:15 PM
  2. Malformed exception in java
    By Amy Adams in forum Software Development
    Replies: 5
    Last Post: 24-03-2010, 08:25 AM
  3. Headless Exception in Java
    By Adrina_g in forum Software Development
    Replies: 5
    Last Post: 20-02-2010, 08:36 PM
  4. How to catch an Exception in Java?
    By SKREECH in forum Software Development
    Replies: 4
    Last Post: 18-02-2010, 04:50 AM
  5. Difference between throw and throws in Java Exception Handling
    By KALYAN23 in forum Software Development
    Replies: 3
    Last Post: 09-11-2009, 11:49 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,053,539.20656 seconds with 17 queries