Академический Документы
Профессиональный Документы
Культура Документы
UNIVERSITY-BANGLADESH
408/1, Kuratoli, Khilkhet, Dhaka 1229, Bangladesh
* Student(s) must complete all details except the faculty use part.
** Please submit all assignments to your course teacher or the office of the concerned teacher.
Group Name/No.:
Marks Obtained
Total Marks
}
class FoodItem{
double price;
String name;
public double getPrice() {
return price;
}
/** Returns the price */
FoodItem(){
price = 0.00;
name = "";
}
String size;
public String getSize() {
return size;
}
/** Returns the size */
public void setSize(String size) {
this.size = size;
}
/** Sets the name */
Pizza(){
super();
this.size = "";
}