Hi mam! I have small doubt., you said " anonymous class cannot allow reusable of more than one object for same override method" that case we would create derived class to override . Ridable r = new Ridable() { public void ride() {System.out.println("vintage car riding"); } }; Ridable r1 = new Ridable() { public void ride() } {System.out.println("vintage car riding"); }; so I tried to put different object in same override method in above code , it gives output doesn't show any error . this is my doubt mam
Absolutely no error... But if we want to use same statement in many objects then instead of creating anonymous class in each object you can create separate class for that which will reduce line of code....
There is no other TH-cam channel like yours that teaches everything in coding excellently in Tamil..Thak you akka😊
Very clear explanation... Thank you 👍
Super mam now 50 day complete.... 👍
I inspired to you. how consistency is possible?
Excellent 👌. Tea teaching mam
Was Waiting for your video mam
Hii akka, ur videos are supr, please make Java 8 features tutorial ka....
Hats off!
Sister which you working any company?
this is anonymous inner class right?
mam ds series la entha language use pannuvinga
c
Hi mam! I have small doubt., you said " anonymous class cannot allow reusable of more than one object for same override method" that case we would create derived class to override .
Ridable r = new Ridable() {
public void ride()
{System.out.println("vintage car riding");
}
};
Ridable r1 = new Ridable() {
public void ride()
}
{System.out.println("vintage car riding");
};
so I tried to put different object in same override method in above code , it gives output doesn't show any error . this is my doubt mam
Absolutely no error... But if we want to use same statement in many objects then instead of creating anonymous class in each object you can create separate class for that which will reduce line of code....
What is mean by " public "🤔 . Why public named as 'public' . Private nu irruku lam la .
pls chk prev videos in playlist.
Member function
I find right answer tq.for u r answer 💖💝
Mam ds la c use pana easya erukuma Ela cpp use pana easya erukuma ds la Vera yena language use pana mudium mam
any language
@@LogicFirstTamil ds yentha language use pana easya erukum mam
@@meenavinoth4082 whichever u know well
@@LogicFirstTamil thank u so much for ur reply mam