Results 1 to 2 of 2

Thread: what is the meaning?

  1. #1
    Contributing Member
    Join Date
    Sep 2006
    Answers
    962

    what is the meaning?

    static Class _mthclass$(String x0)
    {
    try
    {
    return Class.forName(x0);
    }
    catch(ClassNotFoundException x1)
    {
    throw new NoClassDefFoundError(x1.getMessage());
    }
    }

    Wheather this code is compiler generated one or User Defined one.What is the meaning of this code.Why this code is added to the class.

    ---------------------
    suresh


  2. #2
    Contributing Member
    Join Date
    Sep 2006
    Answers
    962

    Re: what is the meaning?

    Its a static method with the method name as Class_mthclass$.
    And this method return the Class object of the class which it loads using Class.forName with the parameter passed to it as argument.

    ---------------------
    suresh


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact