Results 1 to 12 of 12
- 09-06-2010, 03:26 PM #1
Member
- Join Date
- Aug 2010
- Posts
- 13
- Rep Power
- 0
- 09-06-2010, 03:32 PM #2
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,601
- Blog Entries
- 7
- Rep Power
- 17
-
- 09-06-2010, 03:33 PM #4
Member
- Join Date
- Aug 2010
- Posts
- 13
- Rep Power
- 0
- 09-06-2010, 03:34 PM #5
Member
- Join Date
- Aug 2010
- Posts
- 13
- Rep Power
- 0
-
- 09-06-2010, 04:57 PM #7
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,601
- Blog Entries
- 7
- Rep Power
- 17
-
Sent to me via private message:
Reply:
Originally Posted by rohitjava
This topic is very general and broad and difficult to answer easily within the confines of a forum, and you and I really don't want me, a volunteer, to recreate tutorial chapters that have already been well created by others, better than I ever could. And this is why I recommended (and still do) that you first Google this, read the tutorials, and only then if you still have specific questions, ask them. To get you started, please click here:
The Reflection API
Luck
- 09-06-2010, 08:05 PM #9
Member
- Join Date
- Aug 2010
- Posts
- 13
- Rep Power
- 0
Ok.. Thanks
- 09-07-2010, 09:30 AM #10
Member
- Join Date
- Aug 2010
- Posts
- 31
- Rep Power
- 0
you can use this way also
classname obj=Class.forName("classname").newInstance();
- 09-07-2010, 11:07 AM #11
Moderator
- Join Date
- Apr 2009
- Posts
- 10,484
- Rep Power
- 16
Which is reflection...
- 09-08-2010, 05:26 AM #12
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
And how the Suns' explain it.
Trail: The Reflection API (The Java™ Tutorials)
Yes it is. As Fubarable says it's wide area to study. ;)
Similar Threads
-
Operator < cannot be applied to java.lang.Object, Object
By Albert in forum Advanced JavaReplies: 2Last Post: 11-26-2010, 02:12 AM -
Create object of unknown class, based on existing object
By Zack in forum New To JavaReplies: 2Last Post: 06-22-2010, 04:29 AM -
create object
By paul21 in forum New To JavaReplies: 4Last Post: 03-07-2010, 07:14 PM -
create object with name from string
By skandalouz in forum New To JavaReplies: 7Last Post: 12-05-2009, 11:40 PM -
String Object equality with == operator
By kumar080780 in forum New To JavaReplies: 4Last Post: 10-29-2008, 06:57 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks