This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Java in General and the fly likes Java Reflection API Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Java Reflection API" Watch "Java Reflection API" New topic
Author

Java Reflection API

Hs Raveendran
Greenhorn

Joined: Feb 05, 2010
Posts: 23

By using Java Reflection API how we can change the behavior of an object at the runtime
pete stein
Bartender

Joined: Feb 23, 2007
Posts: 1561
Is it your plan to post all of your homework questions here?
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19679
    
  18

It appears so.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Hs Raveendran
Greenhorn

Joined: Feb 05, 2010
Posts: 23

Rob Prime wrote:It appears so.


No its not like that.
I know only how to query the class using a reflection API to get the information about the class but i don't know how to change the behavior of an object at run time using reflection API.
Thats why i asked this question.

Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19679
    
  18

We are also referring to your other threads created today. There isn't a single sign of any attempt to find the answer yourself in any of them.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java Reflection API