|
You need to create an @interface annotation as defined in the homework. Annotate a method with your annotation using the provided data. Then read, and print the information in that annotation using code similar to that in exercise 6 except accessing the method annotation rather than the class annotation. I found information in the following set of examples to be VERY helpful in solving this homework (in fact this is a pretty good reference to practical Java solutions): http://www.java2s.com/Code/Java/Reflection/defaultvaluesinanannotation.htm This homework seemed to stump a lot of us but once you see the solution it is actually quite easy! Good luck. DenS Heba Samy wrote:
--~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/javaprogrammingwithpassion?hl=en -~----------~----~----~----~------~----~------~--~--- |
- [java programming] Annotation Homework Heba Samy
- [java programming] Re: Annotation Homework DenS1950
