I wish I had stumbled upon Durga tutorials videos 4 yrs back when they uploaded it.. I would've done so much progress in career by now.. But anyway, its never too late, I'm happy I came across the tutorial atleast now, good technique of teaching..
vikash yadav it's pritty simple... method which is to be called is decided at a runtime is method overriding. where as the method which is to be called is decided at a compile time ( if there is two same signature methods ) is called called method hiding.
sir your lecture proved very helpful especially for non com. science students like me. But i have a doubt regarding the output of arrays on console is like [1,4,2,5]. why this square brackets are there??? not 1,4,2,5
If main method present in parent and child with same signature program does not compiles. You explained it wrong. The method main cannot be declared static; static methods can only be declared in a static or top level type
Hi, I don't recall it why I post my last comment. But program compiles and run when we have same static method in parent and static and its method hiding and not method override Thanks and keep posting. Nice java videos