Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Lay out what project you will attempt (Creating a car dealership) Coordinate the work ,gather requirements, and Build your initial use case diagram (elaboration can

Lay out what project you will attempt (Creating a car dealership) Coordinate the work ,gather requirements, and Build your initial use case diagram (elaboration can be included)
here is my initial class and use case diagtams.
image text in transcribed
image text in transcribed
image text in transcribed
class CarDealership: def __init__(self, name, payment): self.payment=payment self.name=name def method3 (self): print(f 'Dealer name : {self.name}') def method 4 (self): print(f 'Dealer payment : {self.payment}'). class CarDealeri (Car Dealership): definit__(self, name, payment): super(). _init__(name, payment) def methodl (self): print('I am in method l of subclass 1') def method 2 (self): print('I am in method 2 of subclass 1') class CarDealer2 (Car Dealership): def __init__(self, name, payment): super(). __init__(name, payment) def methodl (self): print('I am in method 1 of subclass 2') def method2 (self): print('I am in method 2 of subclass 2') class CarDealer3(Car Dealership): definit__(self, name, payment): super(). init__(name, payment) def methodl (self): print('I am in method i of subclass 3') dat haaALFI. def methodl (self): print('I am in method 1 of subclass 3') def method2 (self): print('I am in method 2 of subclass 3') x=Car Dealeri('Jamal',10000) y=Car Dealer2('Gip', 8000) z=CarDealer3('Savannah', 25000) x.methodl() x.method 2 () x.method3 ( ) x.method4 ( y.methodl() y.method2 () y.method3 () y.method 4 () z.methodi() 2.method2( ) 2.method3 () z.method 4 () Car Dealership Car Dealership Method 4 Method 3 extends super Car Dealer 1 Method 1 Method 2 Car Dealer3 Method 1 Method 2 Car Dealer2 Method 1 Method 2

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Information And Database Systems Asian Conference Aciids 2012 Kaohsiung Taiwan March 2012 Proceedings Part 2 Lnai 7197

Authors: Jeng-Shyang Pan ,Shyi-Ming Chen ,Ngoc-Thanh Nguyen

2012th Edition

3642284892, 978-3642284892

More Books

Students also viewed these Databases questions