10 lines
166 B
Java
10 lines
166 B
Java
package apo;
|
|
|
|
public class Sweets extends AbstractProduct{
|
|
|
|
Sweets (String name, double price) {
|
|
setName(name);
|
|
setPrice(price);
|
|
}
|
|
}
|