but there is a problem..when i can use "t1" directly why will i store it in a string variable?...
the problem is i can just use the string(i.e classname) so , typecasting with t1 ( as in (t1) O)...
Type: Posts; User: Sai
but there is a problem..when i can use "t1" directly why will i store it in a string variable?...
the problem is i can just use the string(i.e classname) so , typecasting with t1 ( as in (t1) O)...
I have tried
Class<?> classDefinition = Class.forName(className);
but still its throwing an exception :confused:
thanks helloworld922...that does work :-bd
but i am encountered with this exception always...which is not allowing me from creating the object
Severity and...
Hi,
I am trying to access the method of one class in another class through an object of the former class.
Constraint is that i have the class name of the first class in a string variable.
i tried...