public class customer { public Integer GetScrapTiers() { //this returns no of scap tiers for a customer who has a car car.tier objcar=new car.tier(); objcar.getNumberofTier(Cust_id,scrap);//for cust_id tyres of type scrap } } [this is an aggregate we can say] public class Car { private Tier { private integer getNumberofTier(id,type) { //implement.. } } } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)