Thank you so much sir❤ this java series really helped me in my interview and I cleared many interviews and now I have 4 offer letters...one is from Infosys 😍 I heartly grateful ... ❤
@manishkesharwani72714 жыл бұрын
Expect this this I understood all previous topics
@pkay375 жыл бұрын
best teacher for computer applications
@aishwarya5894 жыл бұрын
Hi Deepak, Really appreciate your hard work and dedication ...Thank you for such a wonderful tutorial. :) I have a query regarding the program on finding factorial using recursion. I'm not very clear about the workflow in the second program which you have shown in the video. could you please , elaborate on how the program calculates the factorial? Thanks in advance. :)
@sunilsuth5 жыл бұрын
plz explain the concept of (return 1;)
@sunnygamedev6 жыл бұрын
keep going sir
@SmartProgramming6 жыл бұрын
thanks brother
@soumyabratasamanta96384 жыл бұрын
Thank you Sir for such a nice explanation, but kindly make a video on Methods so that we can understand the concept well.
@its_alveera_naaz4 жыл бұрын
Thankyou so much for explaining every little thing in java,☺ Baki sab jagah toh bina dhang se samjhaye padhane lagte h!!👌👌👌👌
@SmartProgramming4 жыл бұрын
Thank you for your feedback. Below are some of the links for more videos and information : Java Tutorials Serial Wise : kzbin.info/aero/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b Website : www.smartprogramming.in Projects & Courses Website : courses.smartprogramming.in Download Our Android Application for Notes and Interview Questions : play.google.com/store/apps/details?id=com.smartprogramming Follow Us On : Facebook Page : facebook.com/smartprogramming.india Instagram Page : instagram.com/smart_programming
@manishkesharwani72714 жыл бұрын
Sir, I am beginner and I have never listen about recursion So, I could not understand so please help sir
@gauravpise46283 жыл бұрын
You are a great teacher
@beatprofile.6314 Жыл бұрын
Wow ...you are really best teacher for technical line..cs student.
@SmartProgramming Жыл бұрын
thanks a lot dear, keep learning 😊
@fahadmaqsood56365 жыл бұрын
Thanks SIR
@successtechmission41442 жыл бұрын
Wow sir really I want to say you are very hard work 💖💖
@SmartProgramming2 жыл бұрын
Thank you for your feedback. Below are some of the links for more videos and information : Java Tutorials Serial Wise : kzbin.info/aero/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b Important Java Books: www.amazon.in/shop/smartprogramming?listId=3OFWAB0091PSQ Website : www.smartprogramming.in Projects & Courses Website : courses.smartprogramming.in Download Our Android Application for Notes and Interview Questions : play.google.com/store/apps/details?id=com.smartprogramming Follow Us On : Shop With Us: www.amazon.in/shop/smartprogramming Facebook Page : facebook.com/smartprogramming.india Instagram : instagram.com/smart_programming
@rajansingla55166 жыл бұрын
You are amazing sir, Your videos gives me confidence and your teaching level is just awesome, keep it up !!God bless you !! :) And Please Check it sir, I have done like this !! public class Factorial { public static void main(String[] args) { // TODO Auto-generated method stub int num=8; int res=1; while(num!=0) { res=res*num; num--; } System.out.println(res); } }
@SmartProgramming6 жыл бұрын
ya this logic is also correct, there are a lot of ways by which we can perform the task, good brothe 🙂🙂 Thanks a lot for your valuable feedback and support. If you are new, Please subscribe to get updates about new videos in the following link: kzbin.info
@viveksharma10425 жыл бұрын
thanks a lot sir, great
@AstralHarp3 жыл бұрын
Only channel where I can Understand JAVA
@SmartProgramming3 жыл бұрын
Keep it Up. Thank you for your feedback. Below are some of the links for more videos and information : Java Tutorials Serial Wise : kzbin.info/aero/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b Important Java Books: www.amazon.in/shop/smartprogramming?listId=3OFWAB0091PSQ Website : www.smartprogramming.in Projects & Courses Website : courses.smartprogramming.in Download Our Android Application for Notes and Interview Questions : play.google.com/store/apps/details?id=com.smartprogramming Follow Us On : Amazon Store: www.amazon.in/shop/smartprogramming Facebook Page : facebook.com/smartprogramming.india Instagram Page : instagram.com/smart_programming
@tanyamahajan75706 жыл бұрын
Appreciable work sir..thnx for this video
@SmartProgramming6 жыл бұрын
welcome
@technicalsatish245 жыл бұрын
Thank you so much sir ji
@factright48416 жыл бұрын
doing a great job .. Keep it up .Thanks
@SmartProgramming6 жыл бұрын
thank you for your valuable feedback, keep learning
@poojakshirsagar5395 жыл бұрын
Thank u so much sir...
@shubhampatidar18144 жыл бұрын
good institute for java
@SmartProgramming4 жыл бұрын
Thank you for your feedback. Below are some of the links for more videos and information : Java Tutorials Serial Wise : kzbin.info/aero/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b Website : www.smartprogramming.in Projects & Courses Website : courses.smartprogramming.in Download Our Android Application for Notes and Interview Questions : play.google.com/store/apps/details?id=com.smartprogramming Follow Us On : Facebook Page : facebook.com/smartprogramming.india Instagram Page : instagram.com/smart_programming
@gamegiggles30006 жыл бұрын
Sir how u get output without using else part in return prgrm . my code = If(n
@SmartProgramming6 жыл бұрын
class FactorialByRecursion2 { public static void main(String args[]) { Scanner s=new Scanner(System.in); System.out.println("Enter the no : "); int no=s.nextInt(); int fact; FactorialByRecursion2 ob=new FactorialByRecursion2(); fact=ob.calcFact(no); System.out.println("factorial of "+no+" is "+fact); } int calcFact(int no) { if(no>=1) { return (no*calcFact(no-1)); } return 1; } }
@vijaysajjan1131 Жыл бұрын
superb explanation !!!
@SmartProgramming Жыл бұрын
Thank you for your feedback. Below are some of the links for more videos and information : Java Tutorials Serial Wise : kzbin.info/aero/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b Important Java Books: www.amazon.in/shop/smartprogramming?listId=3OFWAB0091PSQ Website : www.smartprogramming.in Projects & Courses Website : courses.smartprogramming.in Download Our Android Application for Notes and Interview Questions : play.google.com/store/apps/details?id=com.smartprogramming Follow Us On : Shop With Us: www.amazon.in/shop/smartprogramming Facebook Page : facebook.com/smartprogramming.india Instagram : instagram.com/smart_programming
@Shamshad451 Жыл бұрын
amazing ,excellent, fantastic sir well done by hard works
@SmartProgramming Жыл бұрын
thank you for your feedback
@bhupinderkaur54496 жыл бұрын
keep it up
@randomvlogs10476 жыл бұрын
KEEP IT UP
@SmartProgramming6 жыл бұрын
thank you
@kashifshaikh31065 жыл бұрын
Very nice explanation sir
@dineshpatil55535 жыл бұрын
can you please explain tower of hanoi example in java
@SmartProgramming5 жыл бұрын
Tower of Hanoi is a mathematical puzzle where we have three rods and n disks. The objective of the puzzle is to move the entire stack to another rod, obeying the following simple rules: 1) Only one disk can be moved at a time. 2) Each move consists of taking the upper disk from one of the stacks and placing it on top of another stack i.e. a disk can only be moved if it is the uppermost disk on a stack. 3) No disk may be placed on top of a smaller disk. Below is the code of hanoi program : class TowerHanoi { static void towerOfHanoi(int n, char from_rod, char to_rod, char aux_rod) { if (n == 1) { System.out.println("Move disk 1 from rod " + from_rod + " to rod " + to_rod); return; } towerOfHanoi(n-1, from_rod, aux_rod, to_rod); System.out.println("Move disk " + n + " from rod " + from_rod + " to rod " + to_rod); towerOfHanoi(n-1, aux_rod, to_rod, from_rod); } public static void main(String args[]) { int n = 4; towerOfHanoi(n, 'A', 'C', 'B'); } }
@anmolsandhu37356 жыл бұрын
###Superb👌👌👌
@SmartProgramming6 жыл бұрын
thank you, keep learning 🙂🙂
@tilakrajchoubey55343 жыл бұрын
nice one
@nehamall10746 жыл бұрын
Great video sir
@SmartProgramming6 жыл бұрын
thank you
@ruchitatangadkar25333 жыл бұрын
Tnq
@gamegiggles30006 жыл бұрын
Sir iam not getting output of last program using return ..plz rply me sir
@SmartProgramming6 жыл бұрын
class FactorialByRecursion2 { public static void main(String args[]) { Scanner s=new Scanner(System.in); System.out.println("Enter the no : "); int no=s.nextInt(); int fact; FactorialByRecursion2 ob=new FactorialByRecursion2(); fact=ob.calcFact(no); System.out.println("factorial of "+no+" is "+fact); } int calcFact(int no) { if(no>=1) { return (no*calcFact(no-1)); } return 1; } }
@ibraheemsheikh20235 жыл бұрын
Try removing the " static int fact=1" under the class and then initializing the " fact " in the main method Like : int fact; fact= [object which you create].[methodname]();
@sparshsharma13433 жыл бұрын
Sir, Please make videos on collection framework. It will help a lot sir.
@SmartProgramming3 жыл бұрын
Will Upload soon
@sukanyasinha35835 жыл бұрын
Good explanation sir please make a video on string and array interview programs
@SmartProgramming4 жыл бұрын
Sure
@SmartProgramming4 жыл бұрын
Sure
@praveenbadasar9956 Жыл бұрын
You are awesome 🎉
@ajaykumarpradhan22396 жыл бұрын
sir u r fantastic
@SmartProgramming6 жыл бұрын
Hello Ajay kumar pradhan Thanks for your valuable feedback and Keep Learning. Please subscribe to get updates about new videos in the following link: kzbin.info
@shaikshagheer43285 жыл бұрын
Nice explanation
@SmartProgramming5 жыл бұрын
Hello shaik shagheer, Thanks a lot for your valuable feedback and support. If you are new, Please subscribe to get updates about new videos in the following link: kzbin.info Below are the links of all the tutorials in java : 1. Java Tutorials for Beginners : kzbin.info/www/bejne/gGK3gX6NfrV5l6c 2. Control Statements in Java (with programs and patterns) : kzbin.info/www/bejne/hYa9nJeBe8qogZI 3. Arrays in Java (With Algorithms) : kzbin.info/www/bejne/moPVm52lqcyhn6M
@deepika232135 жыл бұрын
How can we trace the program in net beans.. plz tell us about that.
@abhimaddheshiya4 жыл бұрын
can it be done using for loop sir?
@samankalyan32176 жыл бұрын
nyc explanation
@SmartProgramming6 жыл бұрын
thanks
@anmolsandhu37356 жыл бұрын
Amazing...
@SmartProgramming6 жыл бұрын
thank you for your feedback, keep learning 🙂🙂
@unidizzinfotech42666 жыл бұрын
nice, keep it up
@sonamyaduvanshi61283 жыл бұрын
Nice sir
@SmartProgramming3 жыл бұрын
Thanks and welcome. Below are some of the links for more videos and information : Java Tutorials Serial Wise : kzbin.info/aero/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b Important Java Books: www.amazon.in/shop/smartprogramming?listId=3OFWAB0091PSQ Website : www.smartprogramming.in Projects & Courses Website : courses.smartprogramming.in Download Our Android Application for Notes and Interview Questions : play.google.com/store/apps/details?id=com.smartprogramming Follow Us On : Shop With Us: www.amazon.in/shop/smartprogramming Facebook Page : facebook.com/smartprogramming.india Instagram Page : instagram.com/smart_programming
@chetanm8986 жыл бұрын
Here why are using S.O.P in main method can we use it after if loop?
@SmartProgramming5 жыл бұрын
ya you can print there also, it depends how you build logic, printing the result depends on you. thank you, keep learning If you are new, Please subscribe to get updates about new videos in the following link: kzbin.info Below are the links of all the tutorials in java : 1. Java Tutorials for Beginners : kzbin.info/www/bejne/gGK3gX6NfrV5l6c 2. Control Statements in Java (with programs and patterns) : kzbin.info/www/bejne/hYa9nJeBe8qogZI 3. Arrays in Java (With Algorithms) : kzbin.info/www/bejne/moPVm52lqcyhn6M
@jijiDwuv6 жыл бұрын
Why dont u use "static" for сall method ?
@SmartProgramming6 жыл бұрын
it was because i have not explained the concept of static keyword, most of the students knows how to call method using objects thats why i have used objects. Thank you, keep learning
@VipinKumar-yk1qn2 жыл бұрын
nice sir
@gamegiggles30006 жыл бұрын
Sir iam getting an error : missing return statement } 1 error Plz...rply me sir
@SmartProgramming6 жыл бұрын
import java.util.Scanner; class FactorialByRecursion { static int fact=1; public static void main(String args[]) { Scanner s=new Scanner(System.in); System.out.println("Enter the no : "); int no=s.nextInt(); FactorialByRecursion ob=new FactorialByRecursion(); ob.calcFact(no); System.out.println("factorial of "+no+" is "+fact); } void calcFact(int no) { if(no>=1) { fact=fact*no; calcFact(no-1); } } }
@prateekgupta13205 жыл бұрын
Can you explain sum series
@SmartProgramming5 жыл бұрын
We will try to upload a tutorial on sum series soon stay tuned and keep learning and sharing Thanks a lot for your valuable feedback and support. Get updated to my new videos in the following link: kzbin.info Below are the links of all the tutorials in java : 1. Java Tutorials for Beginners : kzbin.info/www/bejne/gGK3gX6NfrV5l6c 2. Control Statements in Java (with programs and patterns) : kzbin.info/www/bejne/hYa9nJeBe8qogZI 3. Arrays in Java (With Algorithms) : kzbin.info/www/bejne/moPVm52lqcyhn6M 4. OOPs Concepts in Java : kzbin.info/www/bejne/bYjLn4ytpKeMaJY?
@chetanm8986 жыл бұрын
Can we print the obtained factorial after if loop like s.o.pln("factorial="+fact);
@SmartProgramming6 жыл бұрын
no because it will print again and again
@viveksharma98426 жыл бұрын
Nice
@SmartProgramming6 жыл бұрын
thanks
@alinaiqbal7234 жыл бұрын
sir this code is little bit difficult and hard to understand :(
@SmartProgramming4 жыл бұрын
Keep On trying😊
@a_utopian Жыл бұрын
🙏🙏🙏
@Itachibatman2 жыл бұрын
op man ! u very awesome
@Pooja-kr6wl18 күн бұрын
App direct laptop pr programs padhaya kro
@kishorebabu15433 жыл бұрын
Hi Deepak this is kishore your teaching and explanation very nice helpful but if your teaching in English it will be very helpful to everyone please try to understand and start teaching in English as well. Thank you
@SmartProgramming3 жыл бұрын
I will try. Thank you for your feedback. Below are some of the links for more videos and information : Java Tutorials Serial Wise : kzbin.info/aero/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b Important Java Books: www.amazon.in/shop/smartprogramming?listId=3OFWAB0091PSQ Website : www.smartprogramming.in Projects & Courses Website : courses.smartprogramming.in Download Our Android Application for Notes and Interview Questions : play.google.com/store/apps/details?id=com.smartprogramming Follow Us On : Amazon Store: www.amazon.in/shop/smartprogramming Facebook Page : facebook.com/smartprogramming.india Instagram Page : instagram.com/smart_programming
@himanshuchugh42575 жыл бұрын
Hello sir Can't thank you enough for making these videos int fact(int n) { if (n < = 1) else return n*fact(n-1); } I have been having trouble in understanding factorial by this logic, I cant understand the flow of this program, I have no one to ask, can you please help with this. I don't know how this line=return n*fact(n-1); works
@SmartProgramming5 жыл бұрын
Hello himanshu chugh, Thanks a lot for your valuable feedback and support, keep learning. recursion is calling itself from the method, but if we call method from itself method, it goes to infinity, thats why i put some kind of condition which will stop calling itself at some point or say condition. then in return statement, im calling itself and also decrementing the value i.e. n-1, so it again calles itself by decrementing and returns int value. Get updated to my new videos in the following link: kzbin.info Below are the links of all the tutorials in java : 1. Java Tutorials for Beginners : kzbin.info/www/bejne/gGK3gX6NfrV5l6c 2. Control Statements in Java (with programs and patterns) : kzbin.info/www/bejne/hYa9nJeBe8qogZI 3. Arrays in Java (With Algorithms) : kzbin.info/www/bejne/moPVm52lqcyhn6M 4. OOPs Concepts in Java : kzbin.info/www/bejne/bYjLn4ytpKeMaJY 5. Exception Handling in Java : kzbin.info/www/bejne/r16xnZaCmN2cgbs
@deepika232135 жыл бұрын
I don't get it. Sir
@deepika232135 жыл бұрын
Recursion smj ni Ara Raha h
@kingkhan-jp9zv4 жыл бұрын
sir,i dont understand it...from Bangladesh
@SmartProgramming4 жыл бұрын
From where you can't understand? Watch it again. Follow Us On : Amazon Store: www.amazon.in/shop/smartprogramming Facebook Page : facebook.com/smartprogramming.india Instagram Page : instagram.com/smart_programming
@toonswithheart654 жыл бұрын
Sir this method of programming feels difficult😖😖
@SmartProgramming4 жыл бұрын
Keep trying.
@Farhankhan-ru5ko Жыл бұрын
100 comments
@lokeshpatwal58235 жыл бұрын
stop giving the advertisement of artificial intlligence and machine learning in your channel , artificial intelligence duniya or insaaniyat ke liye khatra hai , logon ke kaam aasaan nhi balki log aalsi hote jaa rahe hain inki wajhe se