Search:

Type: Posts; User: Json

Search: Search took 0.09 seconds.

  1. Replies
    7
    Views
    3,408

    Re: How do you use class.forname?

    Another thing you might want to make sure you understand is the difference between the two forName methods.



    public static Class<?> forName(String className) throws ClassNotFoundException
    ...
  2. Replies
    7
    Views
    3,408

    Re: How do you use class.forname?

    What symbol can you not find, could you please show me the stack trace?

    Also, I think I know what you mean, usually when I've used reflection to instantiate classes I know that these classes will...
  3. Replies
    7
    Views
    3,408

    Re: How do you use class.forname?

    Hi, the problem you have encountered is the fact that when you call Class.forName it wont actually return you an instance of that class but it will return the actual class if that makes sense. You...
Results 1 to 3 of 3