This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Introspection vs Reflection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Introspection vs Reflection" Watch "Introspection vs Reflection" New topic
Author

Introspection vs Reflection

Pho Tek
Ranch Hand

Joined: Nov 05, 2000
Posts: 761

Are introspection and reflection two different things ?


Regards,

Pho
Manfred Leonhardt
Ranch Hand

Joined: Jan 09, 2001
Posts: 1492
Hi Pho,
Sort of ...
Introspection is figuring out yourself (class)
Reflection is figuring out any class
That means that we can use reflection to perform introspection ... weird huh?
Regards,
Manfred.
Pho Tek
Ranch Hand

Joined: Nov 05, 2000
Posts: 761

So java.beans.Introspector#getBeanInfo() is performing
introspection and not reflections ?
Pho
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Introspection vs Reflection
 
Similar Threads
Introspection and reflection
Introspection and Reflection
Reflection Vs inspection
Introspection == reflection?
what is the difference between introspection and a reflection??