PRO192_-_PE_-_SP_2025_-_Block_5_3850.webp
S

PRO192_-_PE_-_SP_2025_-_Block_5_3850.webp

☑Kizspy.me
2 of 2
Paper No: 7
Zoom
-driver:String
-rate:int
+Canoe()
+Canoe(driver:String, rate:int)
+getDriver():String
+getRate():int
+setDriver(driver:String):void
+toString():String
• getDriver():String - return driver.



getRate():int-return rate.
setDriver(driver:String):void - update driver.
toString():String-return the string of format:
driver, rate
SpecCanoe
-color:String
+SpecCanoe()
+SpecCanoe(driver:String, rate:int, color:String)
+getColor():String
+toString()):String
+setData():void
+aat Value String
.
Where:
toString():String return the string of
format:
driver, color, rate
⚫ getColor():String - return color.
.setData():void - Append the last digit of
the rate to the begining of the driver
string.
getValue()-String - Check if the color
+ 100%
Close
Chưa có bình luận nào.

Thông tin

Category
PRO192
Thêm bởi
strong_will
Ngày thêm
Lượt xem
13,080
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom