diff --git a/10th June java - psa - notes.txt b/10th June java - psa - notes.txt index 1502c98..a93199a 100644 --- a/10th June java - psa - notes.txt +++ b/10th June java - psa - notes.txt @@ -2615,6 +2615,8 @@ public class PlatinumAccount extends GoldAccount { } } + +// during compilation it is automatically converted //PlatinumAccount.rateOfInterest()---->Converted to ------>GoldAccount.rateOfInterest(); //PlatinumAccount.x--->Converted---->GoldAccount.x //Hence we are getting output @@ -5573,3 +5575,4 @@ https://www.youtube.com/watch?v=Uw1tocKJNZw&list=PLbLiFkJgsmq6j_fFlZuy0xIs6upvrM +