I couldn't thank you enough, but i pray may god give you strength and power to complete this course and also do many things great in life. I believe that if this course goes the same way its going now it will change life of lakhs.Thanks for being a helping hand
To all the new comers : In 30:56 when Kunal says in Java there is no such thing as pass by reference he means that there is no any way by which we can pass the primitive data types as reference in java. For example in C++ we had & and * operators by which we could pass the memory address of any variable we want ( even primitive variables like int, char, float etc ) and we can always achieve pass by reference but in java there are no such & and * operators. But in java we do have certain reference variables like classes, arrays. Since they are already a reference variable passing them through function might look like a pass by reference but that is because the variable name already is a reference to data in heap memory. So DO NOT BE CONFUSED
in call by value example when he pass the primitive value to the function he tells that here we not change the value of the object we create the new object this is wrong and he didn't explain right
One more interesting observation about VarArgs: If you have 2 functions with the same name (i.e you are overloading a function) eg:- fun(int p,int q) and fun(int ...v) and if you call fun(10, 20) from the main function then function accepting the exact number of parameters( fun(int p, int q) in this case ) will be executed and VarArg function( fun(int ...v) in this case) will be ignored. hope it helps! :)
I just found the best way to understand scope. So think the outer variables as the king and the inner variables in a block or loop to be the common people. The king can visit the common peoples home at any time but common peoples can't visit the king usually. It's something I came up in my mind & thought would be helpful for you.
Very nice explanation, i am having more that 13 years of experience in java but still watching just to learn how you are teaching and explaining... very helpful for any new person who wants to understand java. Good job, much appreciated ... keep it up...as of now i have forwarded your chhanal link to more than 20 freshers... nice contribution towards community...
Best DSA series ever I would like to say. Content made just for the sole purpose of teaching people. Thank you Kunal for such great explanations. you are truly a great Teacher.
now you are my only hope to learn dsa in a much simpler way. your way of explanation is perfect and crystal clear. thank you so much for such amazing content. ❤
Thanks for such great videos. I am in class 10th and wanted to learn Java . Explanations are so simple that I can understand easily.❤️❤️ Any tips for me?
1:22:16 So for the prime number function, I am writing this code because it is less and easier to write : static void prime(int n) { boolean prime = true; for(int i = 2; i
For scoping to be simple , folks, global scope objects is accessed by other scopes, but not vice versa and, change in value in block scope may apply to global scope.
U r right kunal there is no video in youTube Or in other platform for free like yours.. Definitely you spent more than 4-5 hrs to do such kind of video... Great work please cmplt the series... Thanks
Well bhaiya, currently I don't have time to watch these lectures but even then I make sure to leave a thumbs up to your every video coz we trust you with all our heart. And most importantly at the end me too will follow this series. ❤
in case anyone still confused about change value part, just remember methods do activities and NOT implementations....so in case of int array, the method is doing the activity of putting the value of 99 in 0 index ,,where as in case of string name , it is trying to implement the value,,,,thanks
The mic is distracting, but its awesome either way. Keep up the good work, I am in final year CS major, and i am coping up to learn some good coding skills.
I've learned Python and Dart in the past, and this course is exceptional in quality and depth. I'm truly impressed and grateful for the in-depth content. Thank you, and may your work continue to benefit many more students. 💌
at 45:00 whosover is having doubt in change value read this: like in the video he has said that pass by value works on primitve datatypes like string, int char byte etc,whereas objects and stuffs like array which is not a primitive datatypes, its a reference variable(collection of ints or any data type that I declare) so that's why the value of arr[0] got changed since array itself was the reference.hope this might help
At 1:22:14, prime number solution - do we really need to write -> return c * c > n at line number 24 or we can simply return true as code flow will reach on line 24 only when while boolean clause is false, thus c * c > n will be always true when flow reaches line 24. Thoughts ?
Best paylist for DSA thank you so much kunal I started this just few days ago. I was very worried as I was not getting concepts . thanks for this great playlist❤
Thank You So much Kunal for this Bootcamp!! Everything is Clearly Explained and Interestingly. I'm having my placements in the next month, so please try to cover all the syllabus asap! that is my Kind Request :)
Hey Kunal! Amazing content. Just a request that if you could include the following topics in a few videos, it would be great. 1. Lambda Expressions 2. Functional Interfaces. 3. Features & Differences of Java 8,9,10,11,12,etc.
Write a java program that ask the user to enter 5 numbers, and it forms all possible combinations of 2 numbers within those 5. Print which of the combination produce the golden ratio and list all the combination in the order starting from the closest to the golden ration to the further of the golden ratio.
Hey Kunal ur all vedios are so amazing that I can't express. Ur every vedio link that pops out I immediately click on that. Thank u so much for ur hard work and consistency. But plss don't stress urself so much upload vedios at ur own time ur health is also important.☺️☺️
1.sum of 2 nos using void as return type 2.sum of 2 nos using int as return type 3.string as return type 4.passing arguments Swap 5.Scoping 6.Shadowing
Okay so, had to watch the Pass by value and pass by copy of the value of the reference part, to make it more clearer, but yes, u made it clear enough ! ❤❤❤❤
Great Video Kunal.. Also watched your GitHub video. It's the best I've ever watched till now. Just one request, can you please make (Git like) 1-2 videos on Docker and Kubernetes too? Please take it into consideration asap.. These videos expand out knowledge base to great extent. If you will make docker and Kubernetes after java then it will take a lot of time. Thanks.
Yes sure. But my request was not to start it after Java bootcamp. Because it will be late for some of us . Maybe you can make sort of crash course video.. for right now. Thanks for what ever you are doing for community.
In Java:- Primitive Data Types: Pass by value Object Data Types : Pass by value of that reference variable Is this principle work for kotlin as well, cause Kotlin doesn't have any primitive data types, everything in Kotlin is Objects only...🔥
i will upload the answers to the assignmets given. i will try to solve all of them. i m also new into Java and if i could solve it, i will help others too.! :)
Hi Kunal, in case of isPrime() function, after the end of while loop, we can simply -- return true RIGHT? static boolean isPrime(int num){ int c = 2; if(num
Wow the explanation is just so perfect i can surely say that ur the best best best programmer and a teacher is well ur just the BEST!!!! u just explained all these topics so easily that these are damn impactfull and easily understandable 👌👌👍👍🙏🙌
In the video 32 min greating function is called and name is passed in this if actual value main which is kushal when we pass in the function if both are referring same object in the function greating we have the name to Sahil and the return type is void so technically both have to because both are referring to the same object one is changed another is also have to change
I just can't explain how helpful your video's are Sir you are such a hardworking man Because of your extreme level of explanation no of people can understand the concept deeply and easily. There are none channel on youtube that I have subscribed but now I am subscribing your channel Thanks a lot sir ....🙏