#22 Class and Object Practical in Java

  Рет қаралды 292,235

Telusko

Telusko

Күн бұрын

Пікірлер: 79
@shaikmansoor223
@shaikmansoor223 10 ай бұрын
00:05 In this video, we learned about classes and objects in Java. 01:57 Design your objects by separating manufacturing and designing 03:49 Methods in Java must specify access and return type 05:39 Designing a class with a variable and a method 07:35 To create an object, you need to specify the type and use the 'new' keyword. 09:40 How to create an object in Java 11:47 Create a variable called R and assign the sum of num1 and num2 to it 13:42 The video discusses how to create a class in Java and use it to add two values.
@user-benjaminJohn
@user-benjaminJohn Жыл бұрын
Telusko, this video is brillant! NO ONE has been able to articulate this to me in such a clear way. I wish I had found this video YEARS ago. 🙏 Your channel is pure🔥!
@aishwaryab673
@aishwaryab673 8 ай бұрын
Hey TELUSKO, this was my first comment on KZbin because I was such an introvert to even make a comment, The way you teach I admire a lot and this video is incredible and it paves me to think of exploring all your courses!!!! Thanks again Telusko !!
@Makbang-b9b
@Makbang-b9b 2 ай бұрын
In KZbin they don't reavel your identity so what happened if you are an introvert or extrovert Sorry if there is any grammatical mistakes
@rohithvarma6763
@rohithvarma6763 11 ай бұрын
probably the best java teacher in the world
@Shubham-fk4is
@Shubham-fk4is Жыл бұрын
It was easy in Python, but unable to understand in Java.
@shabby_sakshi
@shabby_sakshi 2 ай бұрын
Yessss 😫
@HPR2004...
@HPR2004... 20 күн бұрын
Frst understand how to do in java, then understand in python and then do there
@MuthuAnushya
@MuthuAnushya Жыл бұрын
Hey vera level bro 🎉 i can understand concepts very well it's my third days of java coding journey ,i continuously watching your tutorial and i follow ur tutorial only🎉.thank you 🎉🎉
@chichhasquad2342
@chichhasquad2342 10 ай бұрын
Never been this much easy. Hatts off bro .
@mosshead_vinsmoke
@mosshead_vinsmoke 4 ай бұрын
I really appreciate you took the time to actually explain why the syntax works the way they are unlike others who just tell us do this Calculator obj = new Calculator(); and not explain what each is and does
@nareshgajula
@nareshgajula Жыл бұрын
Good but difficult for the beginners to understand the depth of your explanation!
@chinyamaraphael-sp6wt
@chinyamaraphael-sp6wt 7 ай бұрын
I don't know how I can express myself. We did objects with my lecturer but I did not understand what he was saying until I found this video. You are a redeemer. ❤
@fezaiozcan2227
@fezaiozcan2227 Жыл бұрын
absolutely best tutorials about Java! thanks:)
@Salimuamiri-c3h
@Salimuamiri-c3h 11 ай бұрын
Congratulation you made java so easy in this short concept of object and class in java💯
@rahulmansarowar1430
@rahulmansarowar1430 4 ай бұрын
your all videos is excellent! i wish i had found this collection years ago.❤
@91-ritikjain36
@91-ritikjain36 Жыл бұрын
sir you are the best teacher sir plzz create a new series on jsp and servlet
@prasantdas587
@prasantdas587 8 ай бұрын
You are an amazing instructor. It’s not just how to write the code but why to do it certain way.. brilliant..
@akankshamishra1262
@akankshamishra1262 11 ай бұрын
Hi, Thanks a lot for excellent explanation, very understandable to beginners, I'm learning java for automation selenium with your video.💯
@NoMadMediaProductions
@NoMadMediaProductions 3 ай бұрын
I really like your tutorial videos. This is like excel VBA (back in the days) where you could import a sub from a different sheet.
@big-tech-solution
@big-tech-solution Жыл бұрын
Am enjoying every bit of these lessons......Kudos
@MADDILAKSHMINARAYANA
@MADDILAKSHMINARAYANA Жыл бұрын
it was an excellent explanation. Very understandable to beginners.
@mango-strawberry
@mango-strawberry Жыл бұрын
Literally perfect explanation
@himanshu5838
@himanshu5838 4 ай бұрын
literally Legend ! I've purchased a paid course but i learn more there
@TheSpeaker7738
@TheSpeaker7738 16 күн бұрын
the int n1 and int n2 is storing the value of num1 and num2 for printing the output then why we have to initialize int a in class calculator what is it helping us in? is it helping us to store n1 and n2 value or anything else? ...... and the video was really helpful and understandable😇
@underflo43tky
@underflo43tky 7 күн бұрын
Did we already go over methods? I understand this but maybe we didnt study methods much. Also explaining the difference between objects classes and methods would be useful. So is an object an instance of a class comprised of methods and variables? I understand these from studying before but the teachers really didnt explain so well. This is a good example and well explained but I think its a big leap for people who do not have any background. For me this is great. Thanks. I enjoy your tutorial.
@shobhashobha2614
@shobhashobha2614 10 ай бұрын
Hi sir Which language is best for preparing dsa?
@DevilGaming-bl1og
@DevilGaming-bl1og 4 ай бұрын
Html
@RK_Universe
@RK_Universe 9 ай бұрын
can't find main(String[]) method in class-How to solve the issue.Pls comment sir.
@photolab6712
@photolab6712 Жыл бұрын
superb lecture...
@agilan1546
@agilan1546 Жыл бұрын
Why are we creating a variable int a in the calculator class?
@bandarisailikhitha9865
@bandarisailikhitha9865 11 ай бұрын
Thanks navin, you are awesome
@nandasiddiksha5534
@nandasiddiksha5534 Жыл бұрын
how to get user input?? Instead of assigning values to variables..
@__sam_danielW
@__sam_danielW Жыл бұрын
We have to import scanner so that we can get the input from the user
@rsvcreations7450
@rsvcreations7450 5 ай бұрын
sir when i am trying this i am getting error that "can't find main method in calculator class"
@kanushagrawal7192
@kanushagrawal7192 7 ай бұрын
why are we using diffrent classes for adding where it can be done easily in one class only??? why to complicate things??? and also did not understand anything rest all the videos were superb but i dont know why
@md.ikramulislam9708
@md.ikramulislam9708 3 ай бұрын
for explaining the concept
@kirubasathish3683
@kirubasathish3683 Жыл бұрын
sir we can add the number like this also sir? class Calculator{ int a; public int add() { System.out.println("add"); return 12 + 12; } } public class java1 { public static void main(String a[]) { Calculator calc = new Calculator(); int result = calc.add(); //int result = num1 + num2; System.out.println(result); } } and good explanation sir
@kartheekk2380
@kartheekk2380 Жыл бұрын
can you please explain 2nd line why we have to mention int a; please
@Wake_up_to_reality_143
@Wake_up_to_reality_143 Жыл бұрын
​​​​@@kartheekk2380bro we are not using a he just shows how to declaration a data type in class
@malvikaambastasquestx5965
@malvikaambastasquestx5965 Жыл бұрын
Yes, this will work.
@malvikaambastasquestx5965
@malvikaambastasquestx5965 Жыл бұрын
@@kartheekk2380We don’t need to put it. Not compulsory.
@rockybalboa6969
@rockybalboa6969 Жыл бұрын
14:21 summmary
@shandeshchaudhary-ps1tz
@shandeshchaudhary-ps1tz 11 ай бұрын
you are the best man
@yitingchen8278
@yitingchen8278 Жыл бұрын
Good explanation!
@chaitanyathorat8429
@chaitanyathorat8429 Жыл бұрын
Perfectooo👌👌
@timsy4401
@timsy4401 Жыл бұрын
this video is not much clear
@divakarpareek9466
@divakarpareek9466 Жыл бұрын
@telusko -- I must say your previous Java series of 6 hrs was much better then this one. I have come to 22nd video, in almost each video you are struggling to put clear example and changing in between that's frustating . It should be pre prepared.
@abdulbasith3818
@abdulbasith3818 Жыл бұрын
Can you pls mention that vedio
@abdulbasith3818
@abdulbasith3818 Жыл бұрын
For me it is little bit tuff
@pinkeykumari1312
@pinkeykumari1312 10 ай бұрын
my java file created but class not loaded then what to do?
@pydisettymahesh9655
@pydisettymahesh9655 11 ай бұрын
it is an exaple of inheritance
@ourera2279
@ourera2279 8 ай бұрын
does anyone know where are the pratice questions for these ?
@tekkishort9018
@tekkishort9018 11 ай бұрын
U need to redo this part all parts were clear and concise until this video it's very bad redo it
@rutulkarbhari4963
@rutulkarbhari4963 Жыл бұрын
not working for me even if I have the same codes as you. Giving - error: can't find the main(String[]) method in class: Calculator. Solution?
@naveenrajanaveen6462
@naveenrajanaveen6462 Жыл бұрын
Put (String args[]) instead of (String []) You want to give a name like args, abc, etc..
@rutulkarbhari4963
@rutulkarbhari4963 Жыл бұрын
@@naveenrajanaveen6462 was helpful. And i also wanted to thank you sir🙏.
@miethrayan
@miethrayan Жыл бұрын
​@@naveenrajanaveen6462 but it shows error in main method
@Ashishhh0
@Ashishhh0 Жыл бұрын
define calculator class after the hello class, then it will work fine@@miethrayan
@ivanaleksic1364
@ivanaleksic1364 4 ай бұрын
How did you spawn everything on the screen at start ? lol why you not type when we see?
@_Deepak__Verma
@_Deepak__Verma 5 ай бұрын
Instead of creating classes can't we make a complex function that works exactly the same way then why use class
@msai4856
@msai4856 2 ай бұрын
Bro when ur explaining explain from zero . Ur explanation is like ur teaching to intermediate level students.
@nprince411
@nprince411 10 ай бұрын
tqs sir
@gugulothusaritha1221
@gugulothusaritha1221 Жыл бұрын
sir,Increase the font size
@arashgh7461
@arashgh7461 Жыл бұрын
Thanks for that. i have a project in java will you help me on that payable
@The_Shrock69
@The_Shrock69 Жыл бұрын
Bro😂
@rohitn6063
@rohitn6063 8 ай бұрын
14:37
@ajkumar0063
@ajkumar0063 2 ай бұрын
can u pls explain class and object again this videos are confusing🤔🤔
@RaghavendraMalager
@RaghavendraMalager 4 ай бұрын
Please try and use relevant examples while explaining, using examples which are in no way connected to the topic makes understanding difficult for us. The Python course was very good, but this playlist seems to be derailed of its objective of making things easier for us.
@sheiduwgwjd
@sheiduwgwjd 7 ай бұрын
Confusing
@manojm1853
@manojm1853 9 ай бұрын
2:57 my iPhone says the same
@hrishikeshmukherjee813
@hrishikeshmukherjee813 Жыл бұрын
Super
@sonaligaikwad-zo5ds
@sonaligaikwad-zo5ds 6 ай бұрын
But in calculator class main method is not declare
@vishwajeetdalvi
@vishwajeetdalvi Ай бұрын
Need to declare it only once, and you can do it any class.
@AnuragRawat01
@AnuragRawat01 Жыл бұрын
Thank u so much 💯❤️
@InsightOfMind
@InsightOfMind 4 ай бұрын
wow
@RamgiriRachaRayudu
@RamgiriRachaRayudu 8 ай бұрын
🥳
@darshilchitranshi592
@darshilchitranshi592 11 ай бұрын
14:21 summmary
Premium Java and spring boot Courses
0:51
Telusko
Рет қаралды 66 М.
#23 JDK JRE JVM in Java
5:22
Telusko
Рет қаралды 304 М.
-5+3은 뭔가요? 📚 #shorts
0:19
5 분 Tricks
Рет қаралды 13 МЛН
Непосредственно Каха: сумка
0:53
К-Media
Рет қаралды 12 МЛН
🎈🎈🎈😲 #tiktok #shorts
0:28
Byungari 병아리언니
Рет қаралды 4,5 МЛН
#21 Class And Object Theory in Java
5:48
Telusko
Рет қаралды 317 М.
Generics In Java - Full Simple Tutorial
17:34
Coding with John
Рет қаралды 1,1 МЛН
#32 Array of Objects in Java
8:52
Telusko
Рет қаралды 168 М.
How to make Microservices Communicate?
10:24
YourTechBud Codes
Рет қаралды 42 М.
#24 Methods in Java
11:30
Telusko
Рет қаралды 275 М.
#40 Encapsulation in Java
11:42
Telusko
Рет қаралды 215 М.
The Dome Paradox: A Loophole in Newton's Laws
22:59
Up and Atom
Рет қаралды 1 МЛН
#26 Stack And Heap in Java
12:37
Telusko
Рет қаралды 298 М.
#37 Static Variable in Java
7:06
Telusko
Рет қаралды 185 М.
-5+3은 뭔가요? 📚 #shorts
0:19
5 분 Tricks
Рет қаралды 13 МЛН