mardi 13 avril 2021

Print fields/methods annotated only with @Printable annotation

I have this assignment and I have no idea how to do it. The assignment is:

Create a Person class with properties – age, name, country. Create new Annotation @Printable. Implement a method that takes a list of Persons and print only the properties for each person annotated with @Printable annotation.





Aucun commentaire:

Enregistrer un commentaire