IN JAVA
[email protected] Gradebook ← → C learn.zybooks.com/zybook/DAT_210_55753711/chapter/4/section/14 =zyBooks My library > DAT 210: Data Programming Languages home > 4.14: LAB: Artwork label (modules) Pablo Picasso 1881 1973 Three Musicians 1921 4.14 LAB: Artwork label (modules) Define the Artist class in Artist.py with a constructor to initialize an artist's information. The constructor should by default initialize the artist's name to "None" and the years of birth and death to 0. the output is: Define the Artwork class in Artwork.py with a constructor to initialize an artwork's information. The constructor should by default initialize the title to "None", the year created to 0, and the artist to use the Artist default constructor parameter values. Add an import statement to import the Artist class. Add import statements to main.py to import the Artist and Artwork classes. Ex: If the input is: Artist: Pablo Picasso (1881-1973) Title: Three Musicians, 1921 If the input is: X zy Section 4.14 - DAT 210: Data Pro X Brice Marden 1938 -1 Distant Muses 2000 the output is: Artist: Brice Marden, born 1938 Title: Distant Muses, 2000 411216.1973286.qx3zq7 LAB ACTIVITY Watch WWE Raw 7/4/22 -4th Jux 4.14.1: LAB: Artwork label (modules) 31 + 0/10 Q < ☆ ☐ ⠀ zyBooks catalog? Help/FAQ Mariah Williams. +8 ◆ 3:50
IN JAVA
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am