210 likes | 331 Views
UML Class Example. public class Sales { private String name; private double[] monthlyProfit ; public Sales(String name1 ) { // } public void readProfits () { // } public void displayProfits () { // } public double highestProfit () { // }
E N D
UML Class Example public class Sales{ private String name; private double[] monthlyProfit; public Sales(String name1){ // } public void readProfits(){ // } public void displayProfits(){ // } public double highestProfit(){ // } public double totalProfit(){ // } public booleandeserveBonus(double amount){ // } }
يتألف من يضم
+ After adding one product Calling Environment p
+ After adding one product Copy Calling Environment p