⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 invoiceitem.java

📁 库存管理系统 采用JAVA来编写 希望对学习JAVA 的同学有所帮助
💻 JAVA
字号:
package merchant;

public class InvoiceItem extends Item{
	protected double total;
	public InvoiceItem(InventoryItem item,int units1)
	{
		super(item.id);
		desc=item.desc;
		price=item.price;
		units=units1;
		total=price*units;
	}
	public String toString()
	{
		return super.toString()+" ="+Util.dollar(total)+"\t("+desc+")";
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -