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 Жыл бұрын
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🔥!
@aishwaryab6738 ай бұрын
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-b9b2 ай бұрын
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
@rohithvarma676311 ай бұрын
probably the best java teacher in the world
@Shubham-fk4is Жыл бұрын
It was easy in Python, but unable to understand in Java.
@shabby_sakshi2 ай бұрын
Yessss 😫
@HPR2004...20 күн бұрын
Frst understand how to do in java, then understand in python and then do there
@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 🎉🎉
@chichhasquad234210 ай бұрын
Never been this much easy. Hatts off bro .
@mosshead_vinsmoke4 ай бұрын
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 Жыл бұрын
Good but difficult for the beginners to understand the depth of your explanation!
@chinyamaraphael-sp6wt7 ай бұрын
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 Жыл бұрын
absolutely best tutorials about Java! thanks:)
@Salimuamiri-c3h11 ай бұрын
Congratulation you made java so easy in this short concept of object and class in java💯
@rahulmansarowar14304 ай бұрын
your all videos is excellent! i wish i had found this collection years ago.❤
@91-ritikjain36 Жыл бұрын
sir you are the best teacher sir plzz create a new series on jsp and servlet
@prasantdas5878 ай бұрын
You are an amazing instructor. It’s not just how to write the code but why to do it certain way.. brilliant..
@akankshamishra126211 ай бұрын
Hi, Thanks a lot for excellent explanation, very understandable to beginners, I'm learning java for automation selenium with your video.💯
@NoMadMediaProductions3 ай бұрын
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 Жыл бұрын
Am enjoying every bit of these lessons......Kudos
@MADDILAKSHMINARAYANA Жыл бұрын
it was an excellent explanation. Very understandable to beginners.
@mango-strawberry Жыл бұрын
Literally perfect explanation
@himanshu58384 ай бұрын
literally Legend ! I've purchased a paid course but i learn more there
@TheSpeaker773816 күн бұрын
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😇
@underflo43tky7 күн бұрын
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.
@shobhashobha261410 ай бұрын
Hi sir Which language is best for preparing dsa?
@DevilGaming-bl1og4 ай бұрын
Html
@RK_Universe9 ай бұрын
can't find main(String[]) method in class-How to solve the issue.Pls comment sir.
@photolab6712 Жыл бұрын
superb lecture...
@agilan1546 Жыл бұрын
Why are we creating a variable int a in the calculator class?
@bandarisailikhitha986511 ай бұрын
Thanks navin, you are awesome
@nandasiddiksha5534 Жыл бұрын
how to get user input?? Instead of assigning values to variables..
@__sam_danielW Жыл бұрын
We have to import scanner so that we can get the input from the user
@rsvcreations74505 ай бұрын
sir when i am trying this i am getting error that "can't find main method in calculator class"
@kanushagrawal71927 ай бұрын
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.ikramulislam97083 ай бұрын
for explaining the concept
@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 Жыл бұрын
can you please explain 2nd line why we have to mention int a; please
@Wake_up_to_reality_143 Жыл бұрын
@@kartheekk2380bro we are not using a he just shows how to declaration a data type in class
@malvikaambastasquestx5965 Жыл бұрын
Yes, this will work.
@malvikaambastasquestx5965 Жыл бұрын
@@kartheekk2380We don’t need to put it. Not compulsory.
@rockybalboa6969 Жыл бұрын
14:21 summmary
@shandeshchaudhary-ps1tz11 ай бұрын
you are the best man
@yitingchen8278 Жыл бұрын
Good explanation!
@chaitanyathorat8429 Жыл бұрын
Perfectooo👌👌
@timsy4401 Жыл бұрын
this video is not much clear
@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 Жыл бұрын
Can you pls mention that vedio
@abdulbasith3818 Жыл бұрын
For me it is little bit tuff
@pinkeykumari131210 ай бұрын
my java file created but class not loaded then what to do?
@pydisettymahesh965511 ай бұрын
it is an exaple of inheritance
@ourera22798 ай бұрын
does anyone know where are the pratice questions for these ?
@tekkishort901811 ай бұрын
U need to redo this part all parts were clear and concise until this video it's very bad redo it
@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 Жыл бұрын
Put (String args[]) instead of (String []) You want to give a name like args, abc, etc..
@rutulkarbhari4963 Жыл бұрын
@@naveenrajanaveen6462 was helpful. And i also wanted to thank you sir🙏.
@miethrayan Жыл бұрын
@@naveenrajanaveen6462 but it shows error in main method
@Ashishhh0 Жыл бұрын
define calculator class after the hello class, then it will work fine@@miethrayan
@ivanaleksic13644 ай бұрын
How did you spawn everything on the screen at start ? lol why you not type when we see?
@_Deepak__Verma5 ай бұрын
Instead of creating classes can't we make a complex function that works exactly the same way then why use class
@msai48562 ай бұрын
Bro when ur explaining explain from zero . Ur explanation is like ur teaching to intermediate level students.
@nprince41110 ай бұрын
tqs sir
@gugulothusaritha1221 Жыл бұрын
sir,Increase the font size
@arashgh7461 Жыл бұрын
Thanks for that. i have a project in java will you help me on that payable
@The_Shrock69 Жыл бұрын
Bro😂
@rohitn60638 ай бұрын
14:37
@ajkumar00632 ай бұрын
can u pls explain class and object again this videos are confusing🤔🤔
@RaghavendraMalager4 ай бұрын
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.
@sheiduwgwjd7 ай бұрын
Confusing
@manojm18539 ай бұрын
2:57 my iPhone says the same
@hrishikeshmukherjee813 Жыл бұрын
Super
@sonaligaikwad-zo5ds6 ай бұрын
But in calculator class main method is not declare
@vishwajeetdalviАй бұрын
Need to declare it only once, and you can do it any class.