Q:

convert simple uml ServiceQuote class diagram to java code

0

covert the following uml ServiceQuote  class diagram to java programming language code:

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

public class ServiceQuote {

	private double partsCharges;
	private double laborCharges;
	
	public ServiceQuote()
	{}
	public void setPartsCharges(double c)
	{
		partsCharges=c;
	}
	public void setLaborCharges(double c)
	{
		laborCharges=c;
	}
	public double getPartsCharges()
	{
		return partsCharges;
	}
	public double getlaborCharges()
	{
		return laborCharges;
	}
	public double getSalesTax()
	{
		return 0;
	}
	public double getTotalCharges()
	{
		return 0;
	}
}

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

convert uml class diagram to java code | Student a... >>
<< convert simple uml NumberAnalyzer class diagram to...