Two Laptop Bag*
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 Android Security Essentials Live Lessons this week in the Android 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: 18532
    
  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
How to get an specific object instance!
print a parameter name and value (with a function)
Is possible to get variable name in java?
EL Mystery
What is meant by .class ?