Tuesday, November 29, 2011

How can i call parameterized constructor if am instantiating a object using "Class.forName("Abc").newInstance()"?

We can do by the reflection mechanism. For example here is the code.
Category:Java Interview Questions

No comments:

Post a Comment