instantiate class from string
- From: "sarath" <mesarath@xxxxxxxxx>
- Date: 28 Apr 2005 22:47:55 -0700
1.
I have a method,
public void something(String fullyQualifiedClassName)
{
}
the parameter passed to the method is a fully qualifed class name for a
class. I have to instantiate that very same class inside the method.
how can u do it ?
2.
Why string is immutable which is an additional overhead ?
thanks in advance
sarath
.
- Follow-Ups:
- Re: instantiate class from string
- From: Peter MacMillan
- Re: instantiate class from string
- Prev by Date: hindi unicode works but tamil does not ??
- Next by Date: difference in javascript execution
- Previous by thread: hindi unicode works but tamil does not ??
- Next by thread: Re: instantiate class from string
- Index(es):