gudii9
asked on
junit java reflection
Hi,
What is the relation between
junit java reflection
I have not clearly understood what and why java reflection is useful. Is java reflection is new from jdk7?
Please advise with simple complete examples?
What is the relation between
junit java reflection
I have not clearly understood what and why java reflection is useful. Is java reflection is new from jdk7?
Please advise with simple complete examples?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The easiest way to find out is to ask them. You could tell them you're interested in learning more about reflection and ask them to give you an overview of what they're working on.
ASKER
I expect that JUnit uses reflection so it can work with whatever code you throw at it, without having to know how your code is structured.
Structured meaning which method comes after which method like flow? or what is written inside the method curly braces{}
Please advise
JUnit needs to work with whatever class you throw at it, without knowing what fields and methods it has ahead of time. That's what I meant by "how your code is structured."
ASKER