So i have an UML diagram from wich i must define my code for my Customer class , and the start of the diagram attributes is with that -accounts : Account = new Account() , so i typed for it : private Account = new Account() accounts; and then i get the compilation error <identifier> expected so i am stuck i am new so dont blame me a lot :) anyone who can suggest me a solution i will be very greatful i mean how the code must look for this

10 Years
Discussion Span
Last Post by javaAddict

Finally, this is first time I've seen in this forum someone start a thread with the title:'Need help' and not asking for the solution to his homework without having written any code for himself.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.