How to change in predifine method of java class
<p>I want to change in predefined method of ArrayList class. suppose if we add any element to arraylist . simultaneously system will print "value is added in arraylist" . is it possible to do changes on add() of ArrayList class.</p>
