Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8944

Re: Static Method to calculate ' Average '.

$
0
0

Hi Pawan,

 

You`d better declare a another object, say 'Accountant', in this object, have a method used to calculating average, which importing parameters is a itab. In this itab, havd appended this two companies. I think no mater this calculating average method is static or instance, it`s ok, that`s depened on you how to abstract 'Accountant'.

 

BTW, static method has a small memory footprint than instance .

 

regards,

Archer


Viewing all articles
Browse latest Browse all 8944

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>