Results 1 to 4 of 4

Thread: error

  1. #1
    isme is offline Member
    Join Date
    Apr 2010
    Posts
    18
    Rep Power
    0

    Default error

    .
    .
    .
    .
    throw new Exception(new Object[]{obj.getAnimal()};
    having error "the methof getAnimal() is undefined for the type String.

    what should i do?

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    This code makes no sense whatsoever as if it were randomly constructed without regard for Java syntax or structure. Why are you doing this? What the heck are you trying to do?

    And why did you start a whole new thread for this question?

  3. #3
    isme is offline Member
    Join Date
    Apr 2010
    Posts
    18
    Rep Power
    0

    Default

    does it meant need to be convert? or what?

  4. #4
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    Quote Originally Posted by isme View Post
    does it meant need to be convert? or what?
    I have no idea. You are the one posting the vague question. For your sake, tell the details, please.

Similar Threads

  1. java out of memory error-heap space error
    By elsanthosh in forum NetBeans
    Replies: 4
    Last Post: 06-15-2010, 09:31 AM
  2. Replies: 1
    Last Post: 03-10-2010, 01:53 PM
  3. Replies: 1
    Last Post: 12-05-2009, 07:28 AM
  4. Replies: 1
    Last Post: 10-26-2009, 04:38 PM
  5. Replies: 3
    Last Post: 01-23-2009, 08:53 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
  •