collection of interview question , preparations
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment