Skip to content

Alex92zz/StikerClub-in-Java

Repository files navigation

Stiker-Club

Create an Club object arsenal with attributes “Arsenal” and 10. Club arsenal = new Club("Arsenal", 10); Create a Striker object alex with arsenal as its composite object, and attribute values “Alex”, “29,04,1992” and 5. Striker alex = new Striker("Alex", "29,04,1992",5, arsenal); execute the line alex.toString();

check alex.isForSale(); check the results. Execute the following lines: arsenal.setGoals(20); and also: alex.toString(); check the results. alex.isForSale(); check the results.

About

The Class Striker has a component class called Club

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages