Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Reflection Tutorial  RSS feed

 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need a better Reflection Tutorial than the one on java.sun.com. There are no practical examples. Here is their example of how to retrieve a field value from another class

This is pathetic. What other class? There is only 1 class? Oh yes, I know, there is a Rectangle Class. This is a pretty bad example when you can get this solution without using Reflection at all.

Does anyone know where I can get a better tutorial than Sun's short of purchasing a book?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!