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🔥!
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.
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
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 🎉🎉
Hey TELUSKO, this was my first comment on UA-cam 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 !!
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. ❤
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😇
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.
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
@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.
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);
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.
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🔥!
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.
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
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 🎉🎉
Hey TELUSKO, this was my first comment on UA-cam 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 !!
In UA-cam they don't reavel your identity so what happened if you are an introvert or extrovert
Sorry if there is any grammatical mistakes
probably the best java teacher in the world
Never been this much easy. Hatts off bro .
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. ❤
absolutely best tutorials about Java! thanks:)
Congratulation you made java so easy in this short concept of object and class in java💯
You are an amazing instructor. It’s not just how to write the code but why to do it certain way.. brilliant..
your all videos is excellent! i wish i had found this collection years ago.❤
It was easy in Python, but unable to understand in Java.
Yessss 😫
Frst understand how to do in java, then understand in python and then do there
sir you are the best teacher sir plzz create a new series on jsp and servlet
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.
Hi, Thanks a lot for excellent explanation, very understandable to beginners, I'm learning java for automation selenium with your video.💯
Literally perfect explanation
Am enjoying every bit of these lessons......Kudos
it was an excellent explanation. Very understandable to beginners.
Good but difficult for the beginners to understand the depth of your explanation!
literally Legend ! I've purchased a paid course but i learn more there
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😇
sir when i am trying this i am getting error that "can't find main method in calculator class"
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.
superb lecture...
Thanks navin, you are awesome
THank you very much sir!!😇
Hi sir
Which language is best for preparing dsa?
Html
you are the best man
can't find main(String[]) method in class-How to solve the issue.Pls comment sir.
Compile and run seperately in the terminal.
Why are we creating a variable int a in the calculator class?
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
for explaining the concept
Good explanation!
how to get user input?? Instead of assigning values to variables..
We have to import scanner so that we can get the input from the user
Perfectooo👌👌
my java file created but class not loaded
then what to do?
14:21 summmary
@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.
Can you pls mention that vedio
For me it is little bit tuff
it is an exaple of inheritance
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
can you please explain 2nd line why we have to mention int a; please
@@kartheekk2380bro we are not using a he just shows how to declaration a data type in class
Yes, this will work.
@@kartheekk2380We don’t need to put it. Not compulsory.
Thankyou
sir thanjs a lot
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?
Put (String args[]) instead of (String [])
You want to give a name like args, abc, etc..
@@naveenrajanaveen6462 was helpful. And i also wanted to thank you sir🙏.
@@naveenrajanaveen6462 but it shows error in main method
define calculator class after the hello class, then it will work fine@@miethrayan
How did you spawn everything on the screen at start ? lol why you not type when we see?
Instead of creating classes can't we make a complex function that works exactly the same way then why use class
does anyone know where are the pratice questions for these ?
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.
Bro when ur explaining explain from zero . Ur explanation is like ur teaching to intermediate level students.
U need to redo this part all parts were clear and concise until this video it's very bad redo it
this video is not much clear
tqs sir
can u pls explain class and object again this videos are confusing🤔🤔
sir,Increase the font size
14:37
Super
Thanks for that.
i have a project in java will you help me on that
payable
Bro😂
But in calculator class main method is not declare
Need to declare it only once, and you can do it any class.
2:57 my iPhone says the same
Thank u so much 💯❤️
Confusing
wow
🥳
14:21 summmary