+DIVYA BHARATHI Hello, We are very Happy to say Now you can access All DURGA Sir's Core Java with OCJP/SCJP Video Sessions. To get Maximum Benefit from these video sessions, compulsory you have to write notes also. Sir will dictate each and every point clearly. Demo Sessions on UA-cam: 1. Language Fundamentals(16 Videos) ua-cam.com/video/eTXd89t8ngI/v-deo.html 2. Operators &Assignments(7 Videos) ua-cam.com/video/1JGOPhIyhAM/v-deo.html 3. Flow Control(6 Videos) ua-cam.com/video/X6rS9vD9-qM/v-deo.html 4. Exception Handling (10 Videos) ua-cam.com/play/PLd3UqWTnYXOnSkaum39zWYI6bPb3i7liz.html Please give your valuable feedback and it is very important and helpful for us. Note:-If you are interested for full version of videos please revert back for more information. Fee : 6000/- Duration: 6-months DURGASOFT Online Training Team, Mobile : +91-7207 21 24 28 +91-8885 25 26 27 Mail ID : durgasoftonline@gmail.com , durgasoftonlinetraining@gmail.com
Hello, We are very Happy to say Now you can access All DURGA Sir's Core Java with OCJP/SCJP Video Sessions(200 Videos,21 Chapters,200 hours ). To get Maximum Benefit from these video sessions, compulsory you have to write notes also. Sir will dictate each and every point clearly. Demo Sessions on UA-cam: 1.LanguageFundamentals(16Videos) ua-cam.com/video/eTXd89t8ngI/v-deo.html 2.Operators&Assignments(7Videos) ua-cam.com/video/1JGOPhIyhAM/v-deo.html 3.FlowControl(6Videos) ua-cam.com/video/X6rS9vD9qM/v-deo.html 4.ExceptionHandling(10Videos) ua-cam.com/play/PLd3UqWTnYXOnSkaum39zWYI6bPb3i7liz.html Please give your valuable feedback and it is very important and helpful for us. Note:-If you are interested for full version of videos please revert back for more information. Fee : 6000/- Duration: 6-months DURGASOFT Online Training Team, Mobile : +91-8885 25 26 27, +91-7207 21 24 28 Mail ID : durgasoftonline@gmail.com , durgasoftonlinetraining@gmail.com
Thanks for clearing the concepts. But I have a question if I define a static method in parent class i.e overhidden for child class but when I define same method with same signature but modifier is not static. It gives compile time error. why?
I want to correct your point 7 i.e Throws Clause. 1. If the super class method does not declare an exception, subclass overridden method cannot declare the checked exception but it can declare unchecked exception. If the super class method declares an exception, subclass overridden method can declare same, subclass exception or no exception but cannot declare parent exception. @Please correct me if i am wrong.
Hello Sir, Getting compiler error on overloading if i changing the order in arguments. But you mention in this video overloading will work if we change argument order also.
Can you please explain about "Method Hidding" and What is the use of "Method Hiding"?, i.e (where in programming we can use method hinding feature of java?
Sir in method overloading how method signature must be different method signature means method name and argument type..it is must to have same name of method in overloading concept then why you pointed method signature must be different
+prasad D Hello, We are very Happy to say Now you can access All DURGA Sir's Core Java with OCJP/SCJP Video Sessions. To get Maximum Benefit from these video sessions, compulsory you have to write notes also. Sir will dictate each and every point clearly. Demo Sessions on UA-cam: 1. Language Fundamentals(16 Videos) ua-cam.com/video/eTXd89t8ngI/v-deo.html 2. Operators &Assignments(7 Videos) ua-cam.com/video/1JGOPhIyhAM/v-deo.html 3. Flow Control(6 Videos) ua-cam.com/video/X6rS9vD9-qM/v-deo.html 4. Exception Handling (10 Videos) ua-cam.com/play/PLd3UqWTnYXOnSkaum39zWYI6bPb3i7liz.html Please give your valuable feedback and it is very important and helpful for us. Note:-If you are interested for full version of videos please revert back for more information. Fee : 6000/- Duration: 6-months DURGASOFT Online Training Team, Mobile : +91-7207 21 24 28 +91-8885 25 26 27 Mail ID : durgasoftonline@gmail.com , durgasoftonlinetraining@gmail.com
In point number 5, How could private function be overloaded? class parent { private void f0() { System.out.print("function without argument"); } } class child extends parent { private void f0(int v0) { System.out.print("function with argument"); } } class C0 { public static void main(String r0[]) { child r1=new child(); r1.f0(); } } As per point number 5, If the private function could be overloaded then the "function without argument" should come as the output of the aforementioned source code. But the "compile time error" is coming as the output. It means the private function could not be overloaded. Please correct me if I am wrong. Thank You.
you also can't technically override private methods because they are not inherited... but you can still create the same method signature in the child class...
Sir please explain what is co-variant return types class abc { int m,n,x; int pok(int a,int b) { m=a; n=b; x=m+n; return(x); } } class pqr extends abc { long u,v,w; long pok(int a,int b) { u=a; v=b; w=u*v; return(w); } } class MAIN { public static void main(String ar[]) { pqr p1=new pqr(); long l1=p1.pok(10,20); System.out.println("MULTIPLICATION IS :"+l1); abc a1=new abc(); int o=a1.pok(10,20); System.out.println("SUM IS :"+o); } } int and long/byte/short are co-variant or not?????
From StackOverflow: A parameter is a variable in a method definition. When a method is called, the arguments are the data you pass into the method's parameters. Parameter is variable in the declaration of function. Argument is the actual value of this variable that gets passed to function.
I am working as java developer right now ,because of durgasoft videos.
Great one
Somewhere else I heard that "The best teacher teach from the heart, not from the book" .Durga sir you are one among that.... Keep it up sir
Best of the best JAVA teacher I have seen
your teaching was simply superb sir,............ and also soo much clarity was there its really helpful to everyone's...
+DIVYA BHARATHI
Hello,
We are very Happy to say Now you can access All DURGA Sir's Core Java with
OCJP/SCJP Video Sessions. To get Maximum Benefit from these video sessions,
compulsory you have to write notes also. Sir will dictate each and every point
clearly.
Demo Sessions on UA-cam:
1. Language Fundamentals(16 Videos) ua-cam.com/video/eTXd89t8ngI/v-deo.html
2. Operators &Assignments(7 Videos) ua-cam.com/video/1JGOPhIyhAM/v-deo.html
3. Flow Control(6 Videos) ua-cam.com/video/X6rS9vD9-qM/v-deo.html
4. Exception Handling
(10 Videos) ua-cam.com/play/PLd3UqWTnYXOnSkaum39zWYI6bPb3i7liz.html
Please give your valuable feedback and it is very important and helpful
for us.
Note:-If you are interested for full version of videos please revert back for
more information.
Fee
: 6000/-
Duration:
6-months
DURGASOFT Online Training Team,
Mobile : +91-7207 21 24 28
+91-8885 25
26 27
Mail ID : durgasoftonline@gmail.com , durgasoftonlinetraining@gmail.com
+DURGA EDUCATION Sir do u have any tutorials for data structures and algorithms in java...Kindly do reply
thank you sir
your marry example for method overriding was superb
it is fixed in my mind thank you once again...
@@kavitha-99 agreed
hats off to u sir!!! i really like the way you teach.. you are the best teacher i have ever been taught by
Thank you sir..... Tomorrow is my interview ...
Ur classes helped a lot! Thank you all for your efforts.
Very helpful explanation! I found it clearer and easier than the explanation offered to me by my university.
Durga soft forever......excellent lectures by durgateam ...
i am grateful to you sir for your great effort to upload all those videos. it is very useful to me thank you sir thank you very much
thank you sir💕💕,very simple to understand your content!!!💖💖
your lectures are very useful for clearing my interview.. thank you sir very much
Very well explained with awesome examples ! Thanks !!!
Very useful. Thank you Durga Sir
Great explanation!!
Respect for you sir
Thank you very much sir , your methods are very clear to us
Tq sir ur examples are simply super
Very good explanation, you can give left and right to the interviewer 😂😂
Very very nice teaching sir..
Sir superb teaching
Teaching is very very good sir .thank you.
Hello,
We are very Happy to say Now you can access All DURGA Sir's
Core Java with OCJP/SCJP Video Sessions(200 Videos,21 Chapters,200 hours ). To
get Maximum Benefit from these video sessions, compulsory you have to write
notes also. Sir will dictate each and every point clearly.
Demo Sessions on
UA-cam:
1.LanguageFundamentals(16Videos) ua-cam.com/video/eTXd89t8ngI/v-deo.html
2.Operators&Assignments(7Videos) ua-cam.com/video/1JGOPhIyhAM/v-deo.html
3.FlowControl(6Videos) ua-cam.com/video/X6rS9vD9qM/v-deo.html
4.ExceptionHandling(10Videos) ua-cam.com/play/PLd3UqWTnYXOnSkaum39zWYI6bPb3i7liz.html
Please give your valuable feedback and it is very important
and helpful for us.
Note:-If you are interested for full version of videos
please revert back for more information.
Fee : 6000/-
Duration: 6-months
DURGASOFT Online
Training Team,
Mobile : +91-8885 25
26 27, +91-7207 21 24 28
Mail ID : durgasoftonline@gmail.com ,
durgasoftonlinetraining@gmail.com
+DURGA EDUCATION pls post the link for these sessions...
such a great explanation!
Superbbb explanation sir
thnx mr.durga for teaching me.i know u will not read this but still thnx
Thanks for clearing the concepts. But I have a question if I define a static method in parent class i.e overhidden for child class but when I define same method with same signature but modifier is not static. It gives compile time error. why?
Thank you very much sir for your valuable lessons.
I want to correct your point 7 i.e Throws Clause.
1. If the super class method does not declare an exception, subclass overridden method cannot declare the checked exception but it can declare unchecked exception.
If the super class method declares an exception, subclass overridden method can declare same, subclass exception or no exception but cannot declare parent exception.
@Please correct me if i am wrong.
That is not class, clause only
@@anilreddy7372 that is class only not class whatever he wrote is correct
Hello Sir, Getting compiler error on overloading if i changing the order in arguments. But you mention in this video overloading will work if we change argument order also.
Sir, what is the difference between throw and throws
eassy to learn..plz upload slenium video also
Can you please explain about "Method Hidding" and What is the use of "Method Hiding"?, i.e (where in programming we can use method hinding feature of java?
Sir in method overloading how method signature must be different method signature means method name and argument type..it is must to have same name of method in overloading concept then why you pointed method signature must be different
Best explanation
it is a best lecture for me in java but sir one thing i wish u improve the language : )
Superb Sir
return type can change in overriding only for non-primitive return types like object
Unchecked exception means sir??
no words big big tnx sir.
+prasad D
Hello,
We are very Happy to say Now you can access All DURGA Sir's Core Java with
OCJP/SCJP Video Sessions. To get Maximum Benefit from these video sessions,
compulsory you have to write notes also. Sir will dictate each and every point
clearly.
Demo Sessions on UA-cam:
1. Language Fundamentals(16 Videos) ua-cam.com/video/eTXd89t8ngI/v-deo.html
2. Operators &Assignments(7 Videos) ua-cam.com/video/1JGOPhIyhAM/v-deo.html
3. Flow Control(6 Videos) ua-cam.com/video/X6rS9vD9-qM/v-deo.html
4. Exception Handling
(10 Videos) ua-cam.com/play/PLd3UqWTnYXOnSkaum39zWYI6bPb3i7liz.html
Please give your valuable feedback and it is very important and helpful
for us.
Note:-If you are interested for full version of videos please revert back for
more information.
Fee
: 6000/-
Duration:
6-months
DURGASOFT Online Training Team,
Mobile : +91-7207 21 24 28
+91-8885 25
26 27
Mail ID : durgasoftonline@gmail.com , durgasoftonlinetraining@gmail.com
Why Static method can not override? Plz explain.
excellent
awasome ,"method hiding but not overloadin "
In point number 5, How could private function be overloaded?
class parent
{
private void f0()
{
System.out.print("function without argument");
}
}
class child extends parent
{
private void f0(int v0)
{
System.out.print("function with argument");
}
}
class C0
{
public static void main(String r0[])
{
child r1=new child();
r1.f0();
}
}
As per point number 5, If the private function could be overloaded then the "function without argument" should come as the output of the aforementioned source code.
But the "compile time error" is coming as the output.
It means the private function could not be overloaded.
Please correct me if I am wrong.
Thank You.
This is overriding
you also can't technically override private methods because they are not inherited... but you can still create the same method signature in the child class...
You are right. But in that case it is not overridden method. It is just two different methods.
my comment is not an objection... it is to clarify something to the viewers who may wonder why :D
Thank you sir
Sir please explain what is co-variant return types
class abc
{
int m,n,x;
int pok(int a,int b)
{
m=a;
n=b;
x=m+n;
return(x);
}
}
class pqr extends abc
{
long u,v,w;
long pok(int a,int b)
{
u=a;
v=b;
w=u*v;
return(w);
}
}
class MAIN
{
public static void main(String ar[])
{
pqr p1=new pqr();
long l1=p1.pok(10,20);
System.out.println("MULTIPLICATION IS :"+l1);
abc a1=new abc();
int o=a1.pok(10,20);
System.out.println("SUM IS :"+o);
}
}
int and long/byte/short are co-variant or not?????
hi ,
can any one tell me WHAT IS METHOD RESOLUTION?
Miru devudu sir
very nice
Thanku sir
Thanks
nice..........
thank you ...
Super
+Khasim Durgam
Demo Sessions on youtube,
Language Fundamentals(16 Videos)ua-cam.com/video/eTXd89t8ngI/v-deo.html,
Operators & Assignments(7 Videos)ua-cam.com/video/1JGOPhIyhAM/v-deo.html,
Flow Control(6 Videos)ua-cam.com/video/X6rS9vD9-qM/v-deo.html.
nice sir
How to program
thnx sir
Yes Sir, I'll give left and right to interviewer. :D :D :D
Thank you
+Sumit Ghosh
Demo Sessions on youtube,
Language Fundamentals(16 Videos)ua-cam.com/video/eTXd89t8ngI/v-deo.html,
Operators & Assignments(7 Videos)ua-cam.com/video/1JGOPhIyhAM/v-deo.html,
Flow Control(6 Videos)ua-cam.com/video/X6rS9vD9-qM/v-deo.html.
i still can't distinguish if the language is hindi or English o_0. though the teaching is pretty good..thanks
Must-A be different!!
XD XD
If the return type is different but the signature is same, then the compiler will complain
2nd point is wrong sir its not arguments ...its parameters ...
Munish kumar can you please tell difference between arguments and parameter s
I think arguments sounds better
From StackOverflow: A parameter is a variable in a method definition. When a method is called, the arguments are the data you pass into the method's parameters. Parameter is variable in the declaration of function. Argument is the actual value of this variable that gets passed to function.