No video

Functions / Methods in Java

  Рет қаралды 856,140

Kunal Kushwaha

Kunal Kushwaha

Күн бұрын

Пікірлер: 750
@KunalKushwaha
@KunalKushwaha Ай бұрын
DSA + interview preparation playlist: kzfaq.info/sun/PL9gnSGHSqcnr_DxHsP7AW9ftq0AtAyYqJ
@vasutiwari4187
@vasutiwari4187 3 жыл бұрын
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
@ishchoubey
@ishchoubey 3 жыл бұрын
Ab toh sach bolde
@suvojitghosh2774
@suvojitghosh2774 3 жыл бұрын
Man the explanation is so perfect . Concepts of shadowing scoping varargs were made so easy. Great work!! Looking forward to Arrays❤️
@KunalKushwaha
@KunalKushwaha 3 жыл бұрын
Glad you liked it!
@agyaani8060
@agyaani8060 3 жыл бұрын
Agreed💯
@NitinSharma-fh4ir
@NitinSharma-fh4ir 2 жыл бұрын
@@KunalKushwaha I love you
@nomadd749
@nomadd749 2 жыл бұрын
@@KunalKushwaha Please keep posting,such a great content.
@anubhavsingh9313
@anubhavsingh9313 2 жыл бұрын
@@KunalKushwaha I can't get the notes
@amritpaudel8204
@amritpaudel8204 2 жыл бұрын
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
@ashwathks784
@ashwathks784 2 жыл бұрын
Thank you
@abhinav2004
@abhinav2004 2 жыл бұрын
Thanks Amrit
@abhishekranjan1523
@abhishekranjan1523 2 жыл бұрын
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
@_zoro
@_zoro 2 жыл бұрын
thanks a lot
@vasanthnannuri8544
@vasanthnannuri8544 Жыл бұрын
thanks dude
@arghasantra5420
@arghasantra5420 Жыл бұрын
The best coding teacher i found in entire KZfaq. You are just like beyond pro level ♥️
@ajitpandey4265
@ajitpandey4265 3 жыл бұрын
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! :)
@Arjun8BPCracker
@Arjun8BPCracker 3 жыл бұрын
Nice observation
@vrashabhsontakke7282
@vrashabhsontakke7282 3 жыл бұрын
So, it means if we call fun(10, 20, 30) or fun(10), then the fun( int ....v) will be executed, right.
@shashankshekhar821
@shashankshekhar821 2 жыл бұрын
@@vrashabhsontakke7282 yes
@dynamokumar6028
@dynamokumar6028 2 жыл бұрын
Yes Bro Notice that.
@amitanandanojha3419
@amitanandanojha3419 2 жыл бұрын
nice thank u😁😁
@Syed_Shahzil
@Syed_Shahzil Жыл бұрын
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.
@KunalKushwaha
@KunalKushwaha Жыл бұрын
It's my pleasure
@MuskanSoni-bg3ii
@MuskanSoni-bg3ii 11 ай бұрын
@@KunalKushwaha sometimes i wonder how you such a gentleman , thank you for this series .
@ravijain3413
@ravijain3413 11 ай бұрын
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...
@owaisnazirdar3575
@owaisnazirdar3575 3 жыл бұрын
It is not one of the best It is THE BEST course of DSA . Love you bro ❤❤
@pepewr
@pepewr Жыл бұрын
No
@anonymous-ft8cb
@anonymous-ft8cb Жыл бұрын
its part of core java😂you thinking it ds LOL😂
@shreysutariya2495
@shreysutariya2495 2 жыл бұрын
my whole java syllabus of college is done by here only thanks lot for making awesome videos
@KunalKushwaha
@KunalKushwaha 2 жыл бұрын
All the best
@yoursyasuo5868
@yoursyasuo5868 3 жыл бұрын
This is literally amazing explanation. I am at the 2nd year and still learnt alot from this amazing lecture!
@KunalKushwaha
@KunalKushwaha 3 жыл бұрын
Glad you enjoyed it!
@anuragxsisodiya
@anuragxsisodiya Жыл бұрын
1:22:46 At line no.24 we can also use return true instead of c*c>n because if above two conditons fails then c*c>n has to be true
@FreeAltSoftwareTutorials
@FreeAltSoftwareTutorials Жыл бұрын
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.
@rajattiwari6697
@rajattiwari6697 2 жыл бұрын
Handwritten notes are the best for revising at the last moment. Amazing video Kunal ,Lots and lots of learning from this amazing lecture.
@KunalKushwaha
@KunalKushwaha 2 жыл бұрын
So nice of you
@indukumari193
@indukumari193 2 жыл бұрын
Where is handwritten notes... Can u share the link
@herambjawanjal418
@herambjawanjal418 Жыл бұрын
Hand written notes plzz🥺🥺
@tanvimehta4215
@tanvimehta4215 4 ай бұрын
Where is the notes?
@samirajput9351
@samirajput9351 2 жыл бұрын
i have watched your previous videos and now I am giving likes to each of your video before even watching it Much respect
@KunalKushwaha
@KunalKushwaha 2 жыл бұрын
you are very kind
@asmithaikya
@asmithaikya 3 жыл бұрын
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. ❤
@narc7885
@narc7885 3 жыл бұрын
Why can't you follow this series now? What are u so busy with
@sainaid
@sainaid Жыл бұрын
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. ❤
@indukumari193
@indukumari193 2 жыл бұрын
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
@KunalKushwaha
@KunalKushwaha 2 жыл бұрын
So nice of you
@aamirreza4222
@aamirreza4222 11 ай бұрын
Although I had already viewed this lecture, I came back to learn the concept of scoping more clearly
@hareeshanand4209
@hareeshanand4209 3 жыл бұрын
46:33 in java we dont have pointers....Me: Finally inner peace😂😂
@KunalKushwaha
@KunalKushwaha 3 жыл бұрын
Me too
@vrashabhsontakke7282
@vrashabhsontakke7282 3 жыл бұрын
@@KunalKushwaha lol Programming lang are made by and for lazy people.
@cabcost2036
@cabcost2036 2 жыл бұрын
😂😂😂😂😂😂😂😂😂😂
@priyankanidhi9048
@priyankanidhi9048 3 ай бұрын
Wow great explanation.i want to marry you 😊
@heelsadhna
@heelsadhna 2 ай бұрын
why u hate pointers?
@naveenscorp09
@naveenscorp09 3 жыл бұрын
Kunal you'll definitely grow in your career, even an experienced developer can't give this level of explanation for functions.Keep up
@eternalpanic1
@eternalpanic1 2 жыл бұрын
he did
@endlesscreativity423
@endlesscreativity423 8 ай бұрын
No, even a beginner would know that. I knew that stuff in my 1st semester
@swagatswaroopparida2201
@swagatswaroopparida2201 2 жыл бұрын
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?
@viveksingh973
@viveksingh973 2 жыл бұрын
I'm not from CS background but interested in coding so I attending your class since few days now I feel so comfortable in Java.. Thank you Man❤️
@dayabhusal7519
@dayabhusal7519 Жыл бұрын
@@Learning_and_study12363it’s man 😂not mam
@Learning_and_study12363
@Learning_and_study12363 Жыл бұрын
@@dayabhusal7519 lagta hai chasme ka number badh gya mere😅 btw sorry for wrong comment😅
@thecoderguy_0001
@thecoderguy_0001 2 жыл бұрын
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.
@sahilsood786
@sahilsood786 2 жыл бұрын
Couldn't have been explained in a better way. Keep growing and spreading your knowledge.
@Coding_Asmr_PraDev
@Coding_Asmr_PraDev 3 жыл бұрын
Your teaching is highly comprehensible
@sharannarsingi7578
@sharannarsingi7578 10 ай бұрын
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
@omegajoint7339
@omegajoint7339 8 ай бұрын
no need to check 'i' till the 'n'. you may only check untill the
@KoushikDas2005
@KoushikDas2005 8 ай бұрын
​@@omegajoint7339Kunal also explained this one in the beginning of the playlist
@mangeshsawant1229
@mangeshsawant1229 27 күн бұрын
Day 7 of learning DSA...✅ THANKYOU SO MUCH SIR..😇
@TxNet
@TxNet Жыл бұрын
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
@Radhe_Krishna2245
@Radhe_Krishna2245 10 ай бұрын
this is best method and function lecture for any one on the youtube.
@vasujhawar.6987
@vasujhawar.6987 3 жыл бұрын
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.
@tejassingh2971
@tejassingh2971 2 жыл бұрын
me too
@GaganSingh-zz9el
@GaganSingh-zz9el 2 жыл бұрын
@@tejassingh2971 i just completed my 1st year starting this course
@prakash36g
@prakash36g 2 жыл бұрын
I have never seen any tutorial with this much details and depth. Great Work Brother 👏
@KunalKushwaha
@KunalKushwaha 2 жыл бұрын
Glad you liked it
@vasujhawar.6987
@vasujhawar.6987 3 жыл бұрын
Kunal, The shadowing and VarArgs explanation was great. Appreciate af.
@narutodihargo
@narutodihargo Жыл бұрын
Timestamps: 0:00 Introduction ‌‍‍‍‌‌‍‍ ‌‍‍‌‌‌‌‍ ‌‍‍‌‍‍‌‍ ‌‍‍‌‍‌‍‌ ‌‍‍‌‍‍‍‌ ‌‌‍‍‌‌‌‌ 1:58 Problem Statement 5:31 Methods 5:41 Syntax of a Method 6:40 🎯 Program : Sum of two numbers 9:11 🎯 Program : Greetings 11:18 Returning Values 14:31 Returning a String 17:42 Parameters (Integer Function) 20:36 Parameters (String Function) 25:03 🎯 Program : Swap two numbers 25:25 🎯 Program : Pass Value 29:39 Internal Working of Swapping Program 41:33 🎯 Program : Change Value 46:41 Scope 47:00 Method Scope 49:46 Block Scope 55:32 Loop Scope 59:44 Shadowing 1:06:53 Variable Arguments (Varargs) 1:12:07 Method Overloading 1:19:25 🎯 Questions 1:20:01 Q1 : Prime Number 1:23:52 Q2 : Check Armstrong Number 1:28:27 Q3 : Print All 3 Digit Armstrong Numbers 1:30:18 Outro
@deveshb793
@deveshb793 3 жыл бұрын
This is the best explanation on functions!🔥
@KunalKushwaha
@KunalKushwaha 3 жыл бұрын
Glad it was helpful!
@trusfrated_jungshook
@trusfrated_jungshook 3 жыл бұрын
@@KunalKushwaha Bro from where can I practice questions on each topic ??
@KunalKushwaha
@KunalKushwaha 3 жыл бұрын
@@trusfrated_jungshook assignment link is in github link in the video description
@trusfrated_jungshook
@trusfrated_jungshook 3 жыл бұрын
@@KunalKushwaha thankx bro ❤
@agyaani8060
@agyaani8060 3 жыл бұрын
💯💯
@tamannasharma1294
@tamannasharma1294 2 жыл бұрын
bhaiya kya clear kra h ye scoping ka concept ........🤩🤩
@Aryan..2006
@Aryan..2006 11 күн бұрын
Day 3 here am in 2nd year and i hope i will nail everythtng though i wasted 1st yr. The way u taught the concept of block scope i loved it man
@choisanismine
@choisanismine 9 күн бұрын
i wasted both my 1st year and 2nd year..3rd year started and atleast now i hope to get serious!
@adamgrewalsg8667
@adamgrewalsg8667 3 жыл бұрын
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
@sarangvaliyaparambath810
@sarangvaliyaparambath810 2 жыл бұрын
Best in teaching. Clearing all doubts. Thankyou for this playlist.
@vaidehiparashar7202
@vaidehiparashar7202 3 ай бұрын
literally, you the cutie. to the point explaination. thank youuu sir!
@shashwatsrivastava6899
@shashwatsrivastava6899 3 жыл бұрын
Thank you, Kunal for making videos even on weekends for us. :)
@parmarjaynareshbhai6610
@parmarjaynareshbhai6610 3 жыл бұрын
You are putting video in sunday also. Really appreciate your work. And you are amazing teacher
@ud3695
@ud3695 Жыл бұрын
The channel should be named "Hey Kunal" Love what you are doing sir. May God bless you.
@FlutterProject-zb8jm
@FlutterProject-zb8jm 9 ай бұрын
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. 💌
@adithyaraj307
@adithyaraj307 2 жыл бұрын
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...🔥
@ashwathks784
@ashwathks784 2 жыл бұрын
Thanks man. 😊
@PoojaVerma-tj7ls
@PoojaVerma-tj7ls Жыл бұрын
I was always struggling with this scoping thing, now its clear thanks kunal :)
@ayuxh-kr
@ayuxh-kr 2 жыл бұрын
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.
@KunalKushwaha
@KunalKushwaha 2 жыл бұрын
already made
@ayuxh-kr
@ayuxh-kr 2 жыл бұрын
Ohhh... Sorry...Will find it.
@kaustavborgohain5161
@kaustavborgohain5161 2 жыл бұрын
@@KunalKushwaha What about hashmap?????
@krishnaramprasadi9290
@krishnaramprasadi9290 Жыл бұрын
Love you bhaiya ....we feel proud that learning in this amazing way under you ❤❤❤
@pranavJha93
@pranavJha93 Жыл бұрын
Can I start learning Java without having mastery in C or C++?
@chandanan1993
@chandanan1993 Жыл бұрын
Thank you so much sir. Its very clear to understand each concept. Teaching is very nice. waiting for more videos like these.
@tiasghosh2825
@tiasghosh2825 3 жыл бұрын
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.☺️☺️
@ZenHiker.
@ZenHiker. Ай бұрын
Day 16 of DSA leaning completed✅🙌
@thomasphilip8158
@thomasphilip8158 3 жыл бұрын
Thanks for the late-night video!
@Mohit_Gupta24
@Mohit_Gupta24 2 жыл бұрын
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 ?
@sayakkundu6632
@sayakkundu6632 3 жыл бұрын
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.! :)
@KunalKushwaha
@KunalKushwaha 3 жыл бұрын
Keep it up
@shiladityabose200
@shiladityabose200 2 жыл бұрын
In the Prime example, do we have to return c*c>n or we can simply return true as all the false conditions are already covered before?
@DimensionalDriftYoru
@DimensionalDriftYoru 2 жыл бұрын
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 :)
@jashan7247
@jashan7247 7 ай бұрын
Have you been placed or not
@ramannaagre7938
@ramannaagre7938 Жыл бұрын
There's some magic in the way you teach.
@user-wz3xe7cm9b
@user-wz3xe7cm9b 7 ай бұрын
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❤
@avanishdubey6556
@avanishdubey6556 3 жыл бұрын
I don't know about shadowing and varargs before but now I know that very well.
@deadpool_0077
@deadpool_0077 3 жыл бұрын
The 'opportunities' playlist was very helpful, please start it if possible for community classroom too .
@aryanparashar2407
@aryanparashar2407 Жыл бұрын
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 👌👌👍👍🙏🙌
@swapnilhajare7525
@swapnilhajare7525 Ай бұрын
Brother, your explanation is very nice. You are teaching very perfectly. Thank you for this helpful playlist 👍👍
@gauravsharma3444
@gauravsharma3444 3 жыл бұрын
why return( c*c > n ) , think after while loop the all answers are prime
@pudipavankumar4952
@pudipavankumar4952 9 ай бұрын
One of the best channel for java+dsa series
@deepbansal8710
@deepbansal8710 7 ай бұрын
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 ! ❤❤❤❤
@neerajyadav2349
@neerajyadav2349 10 ай бұрын
Loved the clear and correct explanation
@satishgubge3800
@satishgubge3800 2 жыл бұрын
Your explanation is crystal clear . loved the style you teach the things so simply. You are doing great job ....
@babayagaartworks7357
@babayagaartworks7357 4 ай бұрын
Day 4: completed this lecture, goal is to complete till cycle sort today.
@anshsambhariya2194
@anshsambhariya2194 3 жыл бұрын
This will be an awesome one too!! I am commenting before even watching!! Thanks Kunal!
@aadisng
@aadisng 8 ай бұрын
Best out of Best Brother Hats offf to you...
@davinder95
@davinder95 2 жыл бұрын
Bhai teacher ho to esa..I am so happy that i found you :) learning drastically
@KunalKushwaha
@KunalKushwaha 2 жыл бұрын
Thanks and welcome
@davinder95
@davinder95 2 жыл бұрын
@@KunalKushwaha brother i am working in Government sector .. i am learning for career transition but doing both jobs is very hectic.. i dedicatedly give 5-6hrs dailyy..my question to you is can i make it ? or should i leave my job and give 15hrs daily please reply brother. i will wait for the reply :)
@abhishekranjan1523
@abhishekranjan1523 2 жыл бұрын
in pass by value section you tells that we didn't change the value , we create the new object how? at (35:20)
@keshavrathore2798
@keshavrathore2798 3 жыл бұрын
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.
@KunalKushwaha
@KunalKushwaha 3 жыл бұрын
I will make complete course on Docker and K8s.
@keshavrathore2798
@keshavrathore2798 3 жыл бұрын
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.
@arnabkar3546
@arnabkar3546 Жыл бұрын
Best course on DSA . Far superior than many paid ones.
@karpagavalli8168
@karpagavalli8168 Жыл бұрын
Such a great man. I have no words to express my gratitude 🙏🏻 Thanks a lot
@JpChandYouTube
@JpChandYouTube Жыл бұрын
After watching more than 8 video...i found a better explanation in this video... love you bro
@CodeforTonight
@CodeforTonight 3 жыл бұрын
Super se bhi upar hai ye DSA playlist..Kudos To Kunal
@anshusaurabh6162
@anshusaurabh6162 3 жыл бұрын
I have a big confusion Kunal. By swap(a,b) method the numbers are not swapping but we can change the values of the array by change(nums) at the same numbers are not swapping but it is changing... please clear this
@Aloo-ne1hl
@Aloo-ne1hl Жыл бұрын
Have you found the answer? 😀
@mohsinkhan973
@mohsinkhan973 3 жыл бұрын
Just Amazing, This Course is better than paid courses.
@ShivamSingh-gc6pm
@ShivamSingh-gc6pm Жыл бұрын
Thanks a lot Sir ji❤🙏.
@Raj-pi1pl
@Raj-pi1pl 3 жыл бұрын
Numbers speaks .Power of kunal bhaiya is such that there is 0 Dislike . Bhaiya i cant resist any more plz upload 5-6 vids everyday .BTW thank you
@bharathkoneru4008
@bharathkoneru4008 Жыл бұрын
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
@bhuvanachandra5121
@bhuvanachandra5121 Жыл бұрын
I also have same doubt. Why we have to calculate the c square again?
@mdmujahid8968
@mdmujahid8968 Жыл бұрын
Kunal is going clear all my doubts in DSA...loved it
@orupallikiran6362
@orupallikiran6362 5 ай бұрын
Thanks!This helped a lot for learning new things 😃 and the way of your teaching style is certainly fabulous❣️💥
@akankshatripathi3222
@akankshatripathi3222 Жыл бұрын
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 ....🙏
@akankshatripathi3222
@akankshatripathi3222 Жыл бұрын
@@kaustubhupadhyay9522 mind you own business
@mrlegend3983
@mrlegend3983 2 жыл бұрын
Scanner in = new Scanner(System.in); int n = in.nextInt(); int a = 2; while (a < n){ int b = n % a; a = a + 1; if(b == 0){ System.out.println("Nonprime"); break; } else { System.out.println("Prime"); } } }
@rishabhsharma5037
@rishabhsharma5037 2 жыл бұрын
Is this really for beginners? this course is also like "Apni Kaksha" C++ course. Both of these courses aren't for beginners.
@ananyamishra287
@ananyamishra287 Ай бұрын
Day 6 of learning DSA✅
@harshpratapsingh5782
@harshpratapsingh5782 Ай бұрын
How😢
@kingC2689
@kingC2689 Ай бұрын
Mine java is already done but not DSA 😅
@PhoenixFTW4
@PhoenixFTW4 2 жыл бұрын
I bet.....Rahul is his closest friend
@indiananimelover5125
@indiananimelover5125 Ай бұрын
Rahul ❌ Rahul Rana ✅ 😂😂
@rishavraj2019
@rishavraj2019 Ай бұрын
Now he is in Amazon , Dublin
@58__tannurawat95
@58__tannurawat95 Ай бұрын
Focus on concept more then his friend 😅
@PhoenixFTW4
@PhoenixFTW4 Ай бұрын
@@58__tannurawat95 😂
@rahulchaplin7983
@rahulchaplin7983 19 сағат бұрын
Hello 👋
@anonymous1516
@anonymous1516 3 жыл бұрын
No one could have explained better than this
@khushipurohit8761
@khushipurohit8761 Жыл бұрын
bhaiya your explanation is so cool , and the topic block scope nd varArgs was well explained , am in class 11 but watch your videos cos i love computer science
@rajeshkamlekar8150
@rajeshkamlekar8150 3 жыл бұрын
Hey Kunal i appreciate your hardwork bro, try to complete the course as soon as possible,in 2 months.
@mayureshzore3456
@mayureshzore3456 2 жыл бұрын
Bhaiii ye series kab complete karoge☹️😐 Please do it ASAP
@mrexplorer3433
@mrexplorer3433 2 жыл бұрын
The best bootcamp ever👌🏻 really beneficial for all of us!.
@seshikiran7538
@seshikiran7538 2 жыл бұрын
In the prime number program at the end, why did you write return c*c > n ?? ( what's the purpose of it?)
@garvsharma4845
@garvsharma4845 5 ай бұрын
i love the way you explain kunal sir.. i am your junior from college
@manishagujjar2946
@manishagujjar2946 2 жыл бұрын
Finally I am satisfied with some lectures.thanks bhiya sooo much.
@VisheshVerma1
@VisheshVerma1 Ай бұрын
All Concepts are well explained
@SatyamKumar-lj5bi
@SatyamKumar-lj5bi 3 жыл бұрын
Waiting for your dsa part ,i know basics of java ! ❤️
@skimmendor2614
@skimmendor2614 Жыл бұрын
I had one doubt in shadowing, during example X was initialized and declared int X = 90 before main() function, then it is again initialized in main() function without any error..how?
@salonichoudhary5479
@salonichoudhary5479 3 жыл бұрын
Let's do it 🤟
Introduction to Arrays and ArrayList in Java
1:45:53
Kunal Kushwaha
Рет қаралды 1,2 МЛН
Switch Statements + Nested Case in Java
26:11
Kunal Kushwaha
Рет қаралды 331 М.
Or is Harriet Quinn good? #cosplay#joker #Harriet Quinn
00:20
佐助与鸣人
Рет қаралды 10 МЛН
Cute kitty gadgets 💛
00:24
TheSoul Music Family
Рет қаралды 17 МЛН
Get 10 Mega Boxes OR 60 Starr Drops!!
01:39
Brawl Stars
Рет қаралды 19 МЛН
나랑 아빠가 아이스크림 먹을 때
00:15
진영민yeongmin
Рет қаралды 3,7 МЛН
Solve Any Pattern Question With This Trick!
57:20
Kunal Kushwaha
Рет қаралды 2,4 МЛН
Time and Space Complexity COMPLETE Tutorial - What is Big O?
2:28:24
Kunal Kushwaha
Рет қаралды 641 М.
Static vs Non-Static Variables and Methods In Java - Full Simple Tutorial
11:29
OOP 1 | Introduction & Concepts - Classes, Objects, Constructors, Keywords
1:42:27
Strings and StringBuilder in Java
1:27:29
Kunal Kushwaha
Рет қаралды 446 М.
Fastest Way to Learn ANY Programming Language: 80-20 rule
8:24
Sahil & Sarra
Рет қаралды 831 М.
Java Mock Interview | Fresher Java Technical Round | OOP Concept | Core Java Interview Questions
22:44
Introduction to Recursion - Learn In The Best Way
1:55:49
Kunal Kushwaha
Рет қаралды 908 М.
Or is Harriet Quinn good? #cosplay#joker #Harriet Quinn
00:20
佐助与鸣人
Рет қаралды 10 МЛН