Java Abstract Classes | Java Course in Tamil | Logic First Tamil

  Рет қаралды 68,059

Logic First Tamil

Logic First Tamil

Күн бұрын

Пікірлер: 76
@037_cse_jananir7
@037_cse_jananir7 Жыл бұрын
Your java playlist is one of the best java tutorial in youtube
@gowthamselvaraj7793
@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-ys3wp
@uzumakinaruto-ys3wp 6 ай бұрын
How can you give two parameters for square?
@virat_pattt
@virat_pattt 2 жыл бұрын
Unga voice super aa iruku 😍😍 also explaining slang also just awesome 😎
@spooja4549
@spooja4549 3 жыл бұрын
Please add all the codes in description, it will be easy for us to revise before the interview day
@aravindkumar8743
@aravindkumar8743 2 жыл бұрын
14:20 define panniye aganum nu nammala thitudhuuu.....👍🤣🤣😝😝🤣🤣ultimate nga
@nimalj7233
@nimalj7233 4 ай бұрын
object names m1 and m, m2,m3,m4 nu kodukama unique names koduthu explain panni innum nalla puriyum
@gowtham7819
@gowtham7819 2 жыл бұрын
Thanks Mam. Best Explanation 👍
@sarankumar6360
@sarankumar6360 3 жыл бұрын
Vera level ka🤩spr a purithu
@singertamil0145
@singertamil0145 Жыл бұрын
your voice so cute and explain slag also very nice and easy to understand very well thank you class mam😍😃
@JegaBright
@JegaBright 3 жыл бұрын
நன்றி அக்கா 🙏
@kajamoideen9062
@kajamoideen9062 Жыл бұрын
12:11 line 5 la abstract void ah //committed pannirunga abstract ah remove pannitu verum void method kodukalamay.??
@gokulkannane3653
@gokulkannane3653 2 жыл бұрын
You make it easy...Thank you Mam.
@_NAGASUBRAMANIANS
@_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
@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
@LogicFirstTamil Жыл бұрын
chk github link.
@vigneshrp1294
@vigneshrp1294 Жыл бұрын
thank you so much.....your explanation is very clear for all the topics.
@kannanb0317
@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
@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-b8719
@navaskhaniv-b8719 10 ай бұрын
@@sivamsivam700but here we cannot create the object for base class. right ? then what is the purpose of declaring Member m1 here ? just a query.
@mukeshkannan4546
@mukeshkannan4546 4 ай бұрын
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.)
@CARevanthkumar
@CARevanthkumar 8 ай бұрын
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); } } }
@jaibeembeema5086
@jaibeembeema5086 3 ай бұрын
Wow excellent thank u so much
@ananthkumark6870
@ananthkumark6870 2 жыл бұрын
Mam Your Teaching is Very easy to learn ....Please do the playlist for DBMS and SQL
@jamil-lz3rk
@jamil-lz3rk 2 жыл бұрын
Please for sql video
@LogicFirstTamil
@LogicFirstTamil 2 жыл бұрын
i have added mysql playlist
@aathisrees7730
@aathisrees7730 Жыл бұрын
Hi cute explanation And sweet voice
@sivamsivam700
@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
@baskarj9419
@baskarj9419 2 жыл бұрын
Mam, abstract methodla irukura concrete methods and variablesa eppadi access pandradhu.derived classla Override pannama access panna mudiyuma?
@065.poorwinsankar.r.k3
@065.poorwinsankar.r.k3 2 жыл бұрын
Mam..neenga last ah kudukura programs ku ans enga iruku??
@aarav9621
@aarav9621 11 ай бұрын
So basically idhu inheritance dhane?
@yeshwanthiganesh7061
@yeshwanthiganesh7061 2 жыл бұрын
Super akka I got the output
@gokulnathps8246
@gokulnathps8246 Жыл бұрын
Great explanation
@shahnaz9026
@shahnaz9026 Жыл бұрын
Do you have a solution for this exercise? I got an error..
@R3d0ps
@R3d0ps 3 жыл бұрын
super video akka
@reeganthomas44
@reeganthomas44 Жыл бұрын
Thank you 🙂👍
@shahnaz9026
@shahnaz9026 Жыл бұрын
Do you have a solution for this exercise?
@karthicknagaraj8089
@karthicknagaraj8089 2 жыл бұрын
I wanna ur example code !
@aswinsurya5503
@aswinsurya5503 Жыл бұрын
Accessor and mutator method sollunga
@greenenergy1817
@greenenergy1817 Жыл бұрын
vara level mam 🙏🥰🥰🥰
@aktherMHS
@aktherMHS Жыл бұрын
Hats off !
@manikandanvelayutham4768
@manikandanvelayutham4768 2 жыл бұрын
Akka ipo abstract cls ku Object create panna mudiyathuna athula iruka concrete method na epdi call panrathu....
@senthilkumaran3149
@senthilkumaran3149 2 жыл бұрын
sub class muliyama call pannum
@uzumakinaruto-ys3wp
@uzumakinaruto-ys3wp 6 ай бұрын
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-wx8gg
@shinChan-wx8gg 3 жыл бұрын
Super 👍
@kbharathotk
@kbharathotk 8 ай бұрын
Nice voice slang
@shortboy9976
@shortboy9976 3 жыл бұрын
mam can you saggest some best book in c++ and java
@LogicFirstTamil
@LogicFirstTamil 3 жыл бұрын
Effective Modern C++ by Scott Meyers, for java - core java by Horstmann
@shortboy9976
@shortboy9976 3 жыл бұрын
Thank you mam
@joshstudioz8834
@joshstudioz8834 3 жыл бұрын
akka...java ku unga videos pathale concepts lan clear ah irrukum la???...
@LogicFirstTamil
@LogicFirstTamil 3 жыл бұрын
Yes. For understanding all concepts its enough.
@shahnaz9026
@shahnaz9026 Жыл бұрын
Do you have a solution for this exercise?
@gokulnath6373
@gokulnath6373 3 жыл бұрын
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
@LogicFirstTamil
@LogicFirstTamil 3 жыл бұрын
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.
@gokulnath6373
@gokulnath6373 3 жыл бұрын
@@LogicFirstTamil mam thanks a lot
@swathi1045
@swathi1045 2 жыл бұрын
sis junit ku video poturndhingana link anapunga sis
@LogicFirstTamil
@LogicFirstTamil 2 жыл бұрын
No i havent
@kanish10
@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
@LogicFirstTamil Жыл бұрын
i dont take classes. u can easily learn from youtube itself
@shahnaz9026
@shahnaz9026 Жыл бұрын
Do you have a solution for this exercise?
@studentofklnce472
@studentofklnce472 Жыл бұрын
Mam please upload source code, it will help us to note
@LogicFirstTamil
@LogicFirstTamil Жыл бұрын
chk github logicfirsttamil
@karthickkumar1380
@karthickkumar1380 2 жыл бұрын
niceeee
@ranjithrk4212
@ranjithrk4212 3 жыл бұрын
Mam PHP solli thanga
@LogicFirstTamil
@LogicFirstTamil 3 жыл бұрын
i dont know PHP . Sorry
@TheProtagonist555
@TheProtagonist555 2 жыл бұрын
PHP padikadhinga bro... Pick languages like Javascript or Python..
@037_cse_jananir7
@037_cse_jananir7 Жыл бұрын
@@LogicFirstTamil please teach all dsa concepts with java programs. it will be very useful to us. Your teaching is excellent
@LogicFirstTamil
@LogicFirstTamil Жыл бұрын
@@037_cse_jananir7 I already have DSA playlist. Chk that.
@037_cse_jananir7
@037_cse_jananir7 Жыл бұрын
@@LogicFirstTamil okay mam
@surya-ow4wr
@surya-ow4wr 2 жыл бұрын
✌✌
@programmer5688
@programmer5688 3 жыл бұрын
Interface...along with abstract class sollunga mam.. Please
@LogicFirstTamil
@LogicFirstTamil 3 жыл бұрын
Will upload
@programmer5688
@programmer5688 3 жыл бұрын
@@LogicFirstTamilmam JDBC um teach pannuvinga la... Please sollunga please open an insta account as same as utube channel to ask doubts man
@LogicFirstTamil
@LogicFirstTamil 3 жыл бұрын
@@programmer5688 I will try to give overview not in depth.
@LogicFirstTamil
@LogicFirstTamil 3 жыл бұрын
And sorry abt insta, i will not be having time to clear all doubts. Hope you understand
@programmer5688
@programmer5688 3 жыл бұрын
@@LogicFirstTamil ok mam
Java Protected | Final Keyword | Java Course in Tamil | Logic First Tamil
5:20
Человек паук уже не тот
00:32
Miracle
Рет қаралды 4 МЛН
小丑揭穿坏人的阴谋 #小丑 #天使 #shorts
00:35
好人小丑
Рет қаралды 48 МЛН
PIZZA or CHICKEN // Left or Right Challenge
00:18
Hungry FAM
Рет қаралды 14 МЛН
#61 Abstract Keyword in Java
12:09
Telusko
Рет қаралды 169 М.
Java First Program | Java Course Tamil | Logic First Tamil
24:59
Logic First Tamil
Рет қаралды 178 М.
Abstract Classes and Methods in Java Explained in 7 Minutes
7:00
Coding with John
Рет қаралды 539 М.
Java Methods | Java Course in Tamil | Logic First Tamil
17:49
Logic First Tamil
Рет қаралды 82 М.
Человек паук уже не тот
00:32
Miracle
Рет қаралды 4 МЛН