This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Reflection in java 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 » Java » Beginning Java
Bookmark "Reflection in java" Watch "Reflection in java" New topic
Author

Reflection in java

Parshuram Walunjkar
Greenhorn

Joined: Jul 25, 2001
Posts: 8

Hi,
I would like to know about what is early and late binding in java and also i would like to know about Reflection.
please give me ur suggession.
Thanks.
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9044
    
  10
Moved to Java in General (beginning)


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
susha pillu
Greenhorn

Joined: Jul 25, 2001
Posts: 8
Binding is related to the object being accessed and when. Now object can be accessed at the compile as well as run time i.e. danamically.
In late binding, no information about the object being accessed is availbale to the application. The info would be provided at run time i.e. dyanamically. However, in early binding the info about the object being accessed is available with the application. Hence early binding is considered to be faster.
Reflection:-
Java reflection is supports dynamic (run time) retrieval of information about classes and data structures by name, and allows for their manipulation within an executing Java program. This feature is extremely powerful and has no equivalent in other conventional languages such as C, C++, Fortran, or Pascal. More info on the sun site.
JavaBeans relies heavily on the reflection API to give application builder tools the capability of assessing the exported properties of JavaBeans components.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Reflection in java
 
Similar Threads
How to create object to a specific class by using its name as string variable with out using new.
refraction?
Reflection in java
Basic Reflection Problem
Defining classes runtime