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

  Рет қаралды 62,919

Logic First Tamil

Logic First Tamil

3 жыл бұрын

Java Playlist,
• Learn Java in Tamil
C Interview program playlist,
• C Interview Programs i...
C programming in one video,
• C Programming in Tamil...
C programming playlist
• Introduction to C prog...
C++ Playlist link
• C++ Programming in Tamil
English channel link,
/ @logicfirst31

Пікірлер: 75
@gowthamselvaraj7793
@gowthamselvaraj7793 10 ай бұрын
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 2 ай бұрын
How can you give two parameters for square?
@037_cse_jananir7
@037_cse_jananir7 Жыл бұрын
Your java playlist is one of the best java tutorial in youtube
@virat_pattt
@virat_pattt 2 жыл бұрын
Unga voice super aa iruku 😍😍 also explaining slang also just awesome 😎
@spooja4549
@spooja4549 2 жыл бұрын
Please add all the codes in description, it will be easy for us to revise before the interview day
@gowtham7819
@gowtham7819 2 жыл бұрын
Thanks Mam. Best Explanation 👍
@sarankumar6360
@sarankumar6360 3 жыл бұрын
Vera level ka🤩spr a purithu
@vigneshrp1294
@vigneshrp1294 Жыл бұрын
thank you so much.....your explanation is very clear for all the topics.
@aravindkumar8743
@aravindkumar8743 Жыл бұрын
14:20 define panniye aganum nu nammala thitudhuuu.....👍🤣🤣😝😝🤣🤣ultimate nga
@gokulkannane3653
@gokulkannane3653 Жыл бұрын
You make it easy...Thank you Mam.
@JegaBright
@JegaBright 3 жыл бұрын
நன்றி அக்கா 🙏
@nimalj7233
@nimalj7233 Ай бұрын
object names m1 and m, m2,m3,m4 nu kodukama unique names koduthu explain panni innum nalla puriyum
@singertamil0145
@singertamil0145 Жыл бұрын
your voice so cute and explain slag also very nice and easy to understand very well thank you class mam😍😃
@RedOpsArena
@RedOpsArena 2 жыл бұрын
super video akka
@baskarj9419
@baskarj9419 Жыл бұрын
Mam, abstract methodla irukura concrete methods and variablesa eppadi access pandradhu.derived classla Override pannama access panna mudiyuma?
@yeshwanthiganesh7061
@yeshwanthiganesh7061 2 жыл бұрын
Super akka I got the output
@greenenergy1817
@greenenergy1817 Жыл бұрын
vara level mam 🙏🥰🥰🥰
@shinChan-wx8gg
@shinChan-wx8gg 3 жыл бұрын
Super 👍
@aktherMHS
@aktherMHS 10 ай бұрын
Hats off !
@aathisrees7730
@aathisrees7730 10 ай бұрын
Hi cute explanation And sweet voice
@kajamoideen9062
@kajamoideen9062 11 ай бұрын
12:11 line 5 la abstract void ah //committed pannirunga abstract ah remove pannitu verum void method kodukalamay.??
@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
@CARevanthkumar
@CARevanthkumar 4 ай бұрын
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); } } }
@gokulnathps8246
@gokulnathps8246 Жыл бұрын
Great explanation
@shahnaz9026
@shahnaz9026 Жыл бұрын
Do you have a solution for this exercise? I got an error..
@karthickkumar1380
@karthickkumar1380 2 жыл бұрын
niceeee
@065.poorwinsankar.r.k3
@065.poorwinsankar.r.k3 Жыл бұрын
Mam..neenga last ah kudukura programs ku ans enga iruku??
@kbharathotk
@kbharathotk 4 ай бұрын
Nice voice slang
@reeganthomas44
@reeganthomas44 Жыл бұрын
Thank you 🙂👍
@shahnaz9026
@shahnaz9026 Жыл бұрын
Do you have a solution for this exercise?
@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 6 ай бұрын
@@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.)
@karthicknagaraj8089
@karthicknagaraj8089 2 жыл бұрын
I wanna ur example code !
@_NAGASUBRAMANIANS
@_NAGASUBRAMANIANS 11 ай бұрын
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.
@aswinsurya5503
@aswinsurya5503 10 ай бұрын
Accessor and mutator method sollunga
@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
@surya-ow4wr
@surya-ow4wr 2 жыл бұрын
✌✌
@aarav9621
@aarav9621 7 ай бұрын
So basically idhu inheritance dhane?
@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
@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
@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
@uzumakinaruto-ys3wp
@uzumakinaruto-ys3wp 2 ай бұрын
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(); } } }
@swathi1045
@swathi1045 2 жыл бұрын
sis junit ku video poturndhingana link anapunga sis
@LogicFirstTamil
@LogicFirstTamil 2 жыл бұрын
No i havent
@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?
@studentofklnce472
@studentofklnce472 Жыл бұрын
Mam please upload source code, it will help us to note
@LogicFirstTamil
@LogicFirstTamil Жыл бұрын
chk github logicfirsttamil
@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?
@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
@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
Java Protected | Final Keyword | Java Course in Tamil | Logic First Tamil
5:20
Did you believe it was real? #tiktok
00:25
Анастасия Тарасова
Рет қаралды 56 МЛН
How Many Balloons Does It Take To Fly?
00:18
MrBeast
Рет қаралды 139 МЛН
Can You Draw A PERFECTLY Dotted Line?
00:55
Stokes Twins
Рет қаралды 114 МЛН
#66 What is Interface in Java
8:03
Telusko
Рет қаралды 173 М.
Abstract Classes and Methods in Java Explained in 7 Minutes
7:00
Coding with John
Рет қаралды 491 М.
#40 Encapsulation in Java
11:42
Telusko
Рет қаралды 148 М.
Introduction to Java | Java Programming in Tamil | Logic First Tamil
11:29
Logic First Tamil
Рет қаралды 309 М.
Did you believe it was real? #tiktok
00:25
Анастасия Тарасова
Рет қаралды 56 МЛН