What is the proper relationship in a UML Class diagram between a test program and a program?

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter7: File Handling And Applications
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
100%

What is the proper relationship in a UML Class diagram between a test program and a program?

Lease
TestLease
Lease1:new Lease()
Lease2:new Lease()
Lease3:new Lease()
Lease4:new Lease()
showValues(lease1)
showValues(lease2)
showValues(lease3)
showValues(lease4)
lease1.addFee()
Lease.explainPetPolicy()
showValues(lease1)
tenName:String
aptNumber:int
monRent:double
term:int
FEE:double
getTenName:String
return tenName
setTenName:String
getAptNumber:int
return aptNumber
setAptNumber:ing
getMonRent:double
Lease getData(
return monRent
return lease
setMonrent:double
showValues(Lease lease)
getTerm:int
return term
setTerm:int
Transcribed Image Text:Lease TestLease Lease1:new Lease() Lease2:new Lease() Lease3:new Lease() Lease4:new Lease() showValues(lease1) showValues(lease2) showValues(lease3) showValues(lease4) lease1.addFee() Lease.explainPetPolicy() showValues(lease1) tenName:String aptNumber:int monRent:double term:int FEE:double getTenName:String return tenName setTenName:String getAptNumber:int return aptNumber setAptNumber:ing getMonRent:double Lease getData( return monRent return lease setMonrent:double showValues(Lease lease) getTerm:int return term setTerm:int
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Form
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning