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 Programmer Certification (SCJP/OCPJP) and the fly likes 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 » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Reflection" Watch "Reflection" New topic
Author

Reflection

abhinas raj
Ranch Hand

Joined: Jun 02, 2012
Posts: 47
what is use of reflection
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18504
    
  40

abhinas raj wrote:what is use of reflection


First of all, the reflection API is an advanced feature, and for most intents and purposes, you will probably not need it.


However, to learn it, see this tutorial...

http://docs.oracle.com/javase/tutorial/reflect/index.html

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
abhinas raj
Ranch Hand

Joined: Jun 02, 2012
Posts: 47
thanks sir
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Reflection
 
Similar Threads
Is possible to get variable name in java?
print a parameter name and value (with a function)
How to get an specific object instance!
EL Mystery
What is meant by .class ?