20251108144407.webp
Q

20251108144407.webp

Question paper (build 07.05.20.19)
1. Test getMaker()
2. Test setPrice()
Enter TC (1 or 2): 1
OUTPUT:
francecakE
1. Test getMaker()
2. Test setPrice()
Enter TC (1 or 2): 2
Enter new price: 15
OUTPUT:
15
Ok
Question 2:
(3 marks) Write a class Coffee and a class SpecCoffee extending from Coffee (i.c. Coffee is a superclass
and SpecCoffee is a subclass) with the following information:
Coffee
2 of 2
Paper No: 6
Where:
getName():String - return name.
Chưa có bình luận nào.

Thông tin

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

Share this media

Back
Bên trên Bottom