Question:
Use the Java reflection API to generate .java source files from the .class files of any class.
The class that is used must:
i) Be derived from a programmer-defined class.
ii) Contain a reference to another instance of a programmer-defined class.
iii) Implement any interface.
Your application should generate exact copies of the original Java files (excluding method
bodies!) .

Can you build at least 4 classes, 4 constructor, 4 methods and inputs, etc.
Please avoid copying any examples from the internet.
Provide short explanation of what you did or how you built the program

    • 12 years ago
    complete solution
    NOT RATED

    Purchase the answer to view it

    • reflection.zip