Harikrishna Gorrepati wrote:I have gone through all rules. Anyways, overriding rule doesn't apply here in this code. Let me put it this way. Even if I use either 2nd or 3rd code snippet, It compiles & runs fine. Please advice.
Harikrishna Gorrepati, your answer also correct as like one they provided. But, they may want not to use the same code snaps for the two blanks.
Mu personal experience, don't use Whizlabs, I used it for my SCWCD preparation, but, not worth and making us confusing. There are many other useful mocks, like
ExamLab. Use then as a study guide. This is my personal experience!