Your java playlist is one of the best java tutorial in youtube
@gowthamselvaraj7793 Жыл бұрын
abstract class shape{ abstract void area(int a,int b); } class square extends shape{ public void area(int a,int b){ System.out.println(a*b); } } class triangle extends shape{ public void area(int a,int b){ System.out.println(a*b/2); } } class Main { public static void main(String[] args) { square s=new square(); triangle t= new triangle(); s.area(10,20); t.area(10,20); } }
@uzumakinaruto-ys3wp6 ай бұрын
How can you give two parameters for square?
@virat_pattt2 жыл бұрын
Unga voice super aa iruku 😍😍 also explaining slang also just awesome 😎
@spooja45493 жыл бұрын
Please add all the codes in description, it will be easy for us to revise before the interview day
@aravindkumar87432 жыл бұрын
14:20 define panniye aganum nu nammala thitudhuuu.....👍🤣🤣😝😝🤣🤣ultimate nga
@nimalj72334 ай бұрын
object names m1 and m, m2,m3,m4 nu kodukama unique names koduthu explain panni innum nalla puriyum
@gowtham78192 жыл бұрын
Thanks Mam. Best Explanation 👍
@sarankumar63603 жыл бұрын
Vera level ka🤩spr a purithu
@singertamil0145 Жыл бұрын
your voice so cute and explain slag also very nice and easy to understand very well thank you class mam😍😃
@JegaBright3 жыл бұрын
நன்றி அக்கா 🙏
@kajamoideen9062 Жыл бұрын
12:11 line 5 la abstract void ah //committed pannirunga abstract ah remove pannitu verum void method kodukalamay.??
@gokulkannane36532 жыл бұрын
You make it easy...Thank you Mam.
@_NAGASUBRAMANIANS Жыл бұрын
Solution for the exercise:::: ----------------------------------------------------------------- import java.util.*; abstract class Common{ int length,breadth; abstract int area(); } class Square extends Common{ int length; Square(int length){ this.length=length; } int area(){ return length*4; } } class Triangle extends Common{ int length,breadth,height; Triangle(int length,int breadth,int height){ this.length=length; this.breadth=breadth; this.height=height; } int area(){ int a=breadth*height; return a/2; } } public class Main { public static void main(String[] args) { ArrayListc = new ArrayList(); c.add(new Square(4)); c.add(new Triangle(2,4,4)); for(Common i:c){ System.out.println(i.area()); } } }
@aazhinisenthilkumaran7780 Жыл бұрын
Mam can you please add the code in the description or in the pinned comments so that we can revise easily before exam??
@LogicFirstTamil Жыл бұрын
chk github link.
@vigneshrp1294 Жыл бұрын
thank you so much.....your explanation is very clear for all the topics.
@kannanb0317 Жыл бұрын
Mam, I have an one doubt? What's the difference between ( Member m1 = new Student(); and Student s1 = new Student(); ) in the time of object initialization?
@sivamsivam700 Жыл бұрын
Actually in Member m1 means, not memory allocation in heap for base class(m1), you just create a member class object reference variable. New student(); means create a new child class (Student)object.this is what memory allocation for child class. That child class reference assigning to the base class object variable. In base class object variable we can store base class object reference and also can store child class object reference.(polymorphism) You can't create new object for base class.{new memeber ().} Because base class is a abstract class.
@navaskhaniv-b871910 ай бұрын
@@sivamsivam700but here we cannot create the object for base class. right ? then what is the purpose of declaring Member m1 here ? just a query.
@mukeshkannan45464 ай бұрын
Becoz all students ,teachers and Staffs were under the inheritance of Member class. We can't able to create different arrays for different classes (becoz it's a long process.)
@CARevanthkumar8 ай бұрын
package Absract; abstract class Shape { abstract void area(int n); } class Square extends Shape { void area(int n) { System.out.println("Square:" + (n * 4)); } } class Triangle extends Shape { void area(int n) { System.out.println("Triangle:" + (n * 3)); } } public class Exercise { public static void main(String[] args) { Shape[] s = new Shape[2]; s[0] = new Square(); s[1] = new Triangle(); for(Shape s1: s) { s1.area(4); } } }
@jaibeembeema50863 ай бұрын
Wow excellent thank u so much
@ananthkumark68702 жыл бұрын
Mam Your Teaching is Very easy to learn ....Please do the playlist for DBMS and SQL
@jamil-lz3rk2 жыл бұрын
Please for sql video
@LogicFirstTamil2 жыл бұрын
i have added mysql playlist
@aathisrees7730 Жыл бұрын
Hi cute explanation And sweet voice
@sivamsivam700 Жыл бұрын
Mam member class ku array objects create panum pothu new Member [ ]; nu podurom. New keyword abstract class ku use panna kudathu sonnigalay mam. elements kaana index references create pandrathunala athu allow pannuthaanga maa New Member( ); Ipdi podum pothu heap la oru object create pandrathunaala allow pannaliya mam. Correct taanu sollunga mam
@baskarj94192 жыл бұрын
Mam, abstract methodla irukura concrete methods and variablesa eppadi access pandradhu.derived classla Override pannama access panna mudiyuma?
@065.poorwinsankar.r.k32 жыл бұрын
Mam..neenga last ah kudukura programs ku ans enga iruku??
@aarav962111 ай бұрын
So basically idhu inheritance dhane?
@yeshwanthiganesh70612 жыл бұрын
Super akka I got the output
@gokulnathps8246 Жыл бұрын
Great explanation
@shahnaz9026 Жыл бұрын
Do you have a solution for this exercise? I got an error..
@R3d0ps3 жыл бұрын
super video akka
@reeganthomas44 Жыл бұрын
Thank you 🙂👍
@shahnaz9026 Жыл бұрын
Do you have a solution for this exercise?
@karthicknagaraj80892 жыл бұрын
I wanna ur example code !
@aswinsurya5503 Жыл бұрын
Accessor and mutator method sollunga
@greenenergy1817 Жыл бұрын
vara level mam 🙏🥰🥰🥰
@aktherMHS Жыл бұрын
Hats off !
@manikandanvelayutham47682 жыл бұрын
Akka ipo abstract cls ku Object create panna mudiyathuna athula iruka concrete method na epdi call panrathu....
@senthilkumaran31492 жыл бұрын
sub class muliyama call pannum
@uzumakinaruto-ys3wp6 ай бұрын
Answer for the Question // Shape public abstract class Shape { abstract void area(); } class Square extends Shape { private double side ; public Square(double side){ this.side = side; } @Override void area(){ double squareArea = side*side ; System.out.println("Area of Square ="+squareArea); } } class Triangle extends Shape { private double height ; private double base; public Triangle(double height,double base){ this.height = height; this.base = base; } @Override void area() { double triangleArea = 0.5 * base * height; System.out.println("Area of Triangle ="+triangleArea); } } //Main class public class Main { public static void main(String[] args) { Square square = new Square(23); Triangle triangle = new Triangle(20,10); // triangle.area(); // square.area(); Shape[] area = new Shape[3]; area[0]= new Square(10); area[1]= new Triangle(20,10); area[2]= new Square(30); for (int i = 0; i < area.length ; i++) { area[i].area(); } } }
@shinChan-wx8gg3 жыл бұрын
Super 👍
@kbharathotk8 ай бұрын
Nice voice slang
@shortboy99763 жыл бұрын
mam can you saggest some best book in c++ and java
@LogicFirstTamil3 жыл бұрын
Effective Modern C++ by Scott Meyers, for java - core java by Horstmann
@shortboy99763 жыл бұрын
Thank you mam
@joshstudioz88343 жыл бұрын
akka...java ku unga videos pathale concepts lan clear ah irrukum la???...
@LogicFirstTamil3 жыл бұрын
Yes. For understanding all concepts its enough.
@shahnaz9026 Жыл бұрын
Do you have a solution for this exercise?
@gokulnath63733 жыл бұрын
Mam first u said for abstract u can't create object but after very mins u create array object for abstraction mam.so my question if array means i create for abstraction?? confuse mam
@LogicFirstTamil3 жыл бұрын
No no. I have mentioned in the video. on left side of = you can create a reference of abstract class. But on right side you cannot create abstract object with the "new" keyword. Observe carefully.
@gokulnath63733 жыл бұрын
@@LogicFirstTamil mam thanks a lot
@swathi10452 жыл бұрын
sis junit ku video poturndhingana link anapunga sis
@LogicFirstTamil2 жыл бұрын
No i havent
@kanish10 Жыл бұрын
Hii akka 😊😊 akka nenga nala solli tharinga akka enaku oru help akka na ippo second year akka Na BTech IT group akka enaku Java solli Kudukiringala akka plz 🙏
@LogicFirstTamil Жыл бұрын
i dont take classes. u can easily learn from youtube itself
@shahnaz9026 Жыл бұрын
Do you have a solution for this exercise?
@studentofklnce472 Жыл бұрын
Mam please upload source code, it will help us to note
@LogicFirstTamil Жыл бұрын
chk github logicfirsttamil
@karthickkumar13802 жыл бұрын
niceeee
@ranjithrk42123 жыл бұрын
Mam PHP solli thanga
@LogicFirstTamil3 жыл бұрын
i dont know PHP . Sorry
@TheProtagonist5552 жыл бұрын
PHP padikadhinga bro... Pick languages like Javascript or Python..
@037_cse_jananir7 Жыл бұрын
@@LogicFirstTamil please teach all dsa concepts with java programs. it will be very useful to us. Your teaching is excellent
@LogicFirstTamil Жыл бұрын
@@037_cse_jananir7 I already have DSA playlist. Chk that.
@037_cse_jananir7 Жыл бұрын
@@LogicFirstTamil okay mam
@surya-ow4wr2 жыл бұрын
✌✌
@programmer56883 жыл бұрын
Interface...along with abstract class sollunga mam.. Please
@LogicFirstTamil3 жыл бұрын
Will upload
@programmer56883 жыл бұрын
@@LogicFirstTamilmam JDBC um teach pannuvinga la... Please sollunga please open an insta account as same as utube channel to ask doubts man
@LogicFirstTamil3 жыл бұрын
@@programmer5688 I will try to give overview not in depth.
@LogicFirstTamil3 жыл бұрын
And sorry abt insta, i will not be having time to clear all doubts. Hope you understand