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

  Рет қаралды 66,135

Logic First Tamil

Logic First Tamil

Күн бұрын

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

Пікірлер: 76
@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 😎
@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 5 ай бұрын
How can you give two parameters for square?
@aravindkumar8743
@aravindkumar8743 Жыл бұрын
14:20 define panniye aganum nu nammala thitudhuuu.....👍🤣🤣😝😝🤣🤣ultimate nga
@spooja4549
@spooja4549 3 жыл бұрын
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 👍
@JegaBright
@JegaBright 3 жыл бұрын
நன்றி அக்கா 🙏
@sarankumar6360
@sarankumar6360 3 жыл бұрын
Vera level ka🤩spr a purithu
@nimalj7233
@nimalj7233 3 ай бұрын
object names m1 and m, m2,m3,m4 nu kodukama unique names koduthu explain panni innum nalla puriyum
@kajamoideen9062
@kajamoideen9062 Жыл бұрын
12:11 line 5 la abstract void ah //committed pannirunga abstract ah remove pannitu verum void method kodukalamay.??
@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 8 ай бұрын
@@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 2 ай бұрын
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.)
@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
@gokulkannane3653
@gokulkannane3653 2 жыл бұрын
You make it easy...Thank you Mam.
@jaibeembeema5086
@jaibeembeema5086 Ай бұрын
Wow excellent thank u so much
@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.
@singertamil0145
@singertamil0145 Жыл бұрын
your voice so cute and explain slag also very nice and easy to understand very well thank you class mam😍😃
@baskarj9419
@baskarj9419 2 жыл бұрын
Mam, abstract methodla irukura concrete methods and variablesa eppadi access pandradhu.derived classla Override pannama access panna mudiyuma?
@vigneshrp1294
@vigneshrp1294 Жыл бұрын
thank you so much.....your explanation is very clear for all the topics.
@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
@RedOpsArena
@RedOpsArena 3 жыл бұрын
super video akka
@yeshwanthiganesh7061
@yeshwanthiganesh7061 2 жыл бұрын
Super akka I got the output
@aathisrees7730
@aathisrees7730 Жыл бұрын
Hi cute explanation And sweet voice
@shinChan-wx8gg
@shinChan-wx8gg 3 жыл бұрын
Super 👍
@065.poorwinsankar.r.k3
@065.poorwinsankar.r.k3 Жыл бұрын
Mam..neenga last ah kudukura programs ku ans enga iruku??
@_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()); } } }
@aktherMHS
@aktherMHS Жыл бұрын
Hats off !
@gokulnathps8246
@gokulnathps8246 Жыл бұрын
Great explanation
@shahnaz9026
@shahnaz9026 Жыл бұрын
Do you have a solution for this exercise? I got an error..
@aarav9621
@aarav9621 9 ай бұрын
So basically idhu inheritance dhane?
@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?
@reeganthomas44
@reeganthomas44 Жыл бұрын
Thank you 🙂👍
@shahnaz9026
@shahnaz9026 Жыл бұрын
Do you have a solution for this exercise?
@aswinsurya5503
@aswinsurya5503 Жыл бұрын
Accessor and mutator method sollunga
@karthicknagaraj8089
@karthicknagaraj8089 2 жыл бұрын
I wanna ur example code !
@karthickkumar1380
@karthickkumar1380 2 жыл бұрын
niceeee
@greenenergy1817
@greenenergy1817 Жыл бұрын
vara level mam 🙏🥰🥰🥰
@uzumakinaruto-ys3wp
@uzumakinaruto-ys3wp 5 ай бұрын
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(); } } }
@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
@CARevanthkumar
@CARevanthkumar 6 ай бұрын
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); } } }
@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
@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
@surya-ow4wr
@surya-ow4wr 2 жыл бұрын
✌✌
@kbharathotk
@kbharathotk 6 ай бұрын
Nice voice slang
@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?
@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
@studentofklnce472
@studentofklnce472 Жыл бұрын
Mam please upload source code, it will help us to note
@LogicFirstTamil
@LogicFirstTamil Жыл бұрын
chk github logicfirsttamil
@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
Java Classes and Objects | Java Course in Tamil | Logic First Tamil
15:03
Logic First Tamil
Рет қаралды 130 М.
WORLD BEST MAGIC SECRETS
00:50
MasomkaMagic
Рет қаралды 49 МЛН
АЗАРТНИК 4 |СЕЗОН 2 Серия
31:45
Inter Production
Рет қаралды 1,1 МЛН
Win This Dodgeball Game or DIE…
00:36
Alan Chikin Chow
Рет қаралды 26 МЛН
отомстил?
00:56
История одного вокалиста
Рет қаралды 6 МЛН
#61 Abstract Keyword in Java
12:09
Telusko
Рет қаралды 152 М.
Abstraction in Python | Python Mastery Ep-49 | code io - Tamil
15:33
code io - Tamil
Рет қаралды 4,3 М.
Abstract Classes and Methods in Java Explained in 7 Minutes
7:00
Coding with John
Рет қаралды 515 М.
WORLD BEST MAGIC SECRETS
00:50
MasomkaMagic
Рет қаралды 49 МЛН