Note that the parameter className must be fully qualified name of the desired class for which Class object is to be created. The above statement creates the Class object for the class passed as a String argument(className). Below is the syntax :Ĭlass c = Class.forName(String className)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |