Results 1 to 2 of 2
  1. #1
    money123 is offline Member
    Join Date
    Jul 2007
    Posts
    11
    Rep Power
    0

    Default Which exception is thrown.....

    A developer compiles a program and executes it successfully.
    The developer then changes a method signature in an interface file and then recompiles only that file. The file compiles successfully, with no errors or warnings.

    When the developer described in the above scenario executes the program, which one of the following exceptions is thrown?
    Choice 1

    ClassFormatError
    Choice 2

    UnsatisfiedLinkError
    Choice 3

    ClassNotFoundException
    Choice 4

    NoSuchMethodException
    Choice 5

    IllegalStateException

    I guess its IllegalStateException:rolleyes:

  2. #2
    brianhks is offline Senior Member
    Join Date
    Jul 2007
    Posts
    135
    Rep Power
    0

    Default

    I just tried it and I got a NoSuchMethodError. Not much help I know.

Similar Threads

  1. Need help on Exception
    By Deon in forum New To Java
    Replies: 7
    Last Post: 02-11-2010, 06:46 PM
  2. Where does the exception go?
    By aytidaalkuhs in forum New To Java
    Replies: 3
    Last Post: 04-07-2008, 03:24 PM
  3. exception
    By Oktam in forum New To Java
    Replies: 2
    Last Post: 03-23-2008, 08:01 PM
  4. Replies: 1
    Last Post: 03-08-2008, 07:41 PM
  5. Exception
    By Camden in forum New To Java
    Replies: 2
    Last Post: 11-27-2007, 12:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •