At first I skipped watching this video due to language problem, but to this java program I didn't get proper explanation from other channels, so again I came back and started watching your video, now I feel language is not an issue when the explanation is crystal clear, anyone can understand it easily,, thanks a lot for explaining everything so clear👏👏
Thank you for showing respect. Keep sharing with your friends too. Below are some of the links for more videos and information : Java Tutorials Serial Wise : th-cam.com/play/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b.html 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
Sir, In HashSet all values are inserted according to some Hashcode of values !! But here at the end while printing HashSet values, all values are inserted according to ascending order(i.e. default natural sorting) !! According to the HashSet Concept, we can't expect this type of sorting ....I have only one doubt that how these values are inserted according to default natural sorting instead of printing unsorted wise !!?? And Rest,,,,, Great Lecture sir, Your videos keep me happy and motivated !! Durga sir and you are my true Inspiration for which I can't give up. Thanx for being there for us !! stay Blessed and happy always !! :)
The of you explained super everyone can understand ,i am week in pogramming but after seeing your video i can do .cz you explained every bit by bit.plz sir after geeting more suscribe dont change your way of teaching.thanks a lot sir
Hello Swagatika Mohapatra, 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: th-cam.com/users/smartprogramming Below are the link of all the progrms shown in starting of the videos, thank you.Get updated to my new videos in the following link: th-cam.com/users/smartprogramming Below are the links of all the tutorials in java : 1. Java Tutorials for Beginners : th-cam.com/video/J1TPKWIPFaE/w-d-xo.html 2. Control Statements in Java (with programs and patterns) : th-cam.com/video/OUZkdKFeuK0/w-d-xo.html 3. Arrays in Java (With Algorithms) : th-cam.com/video/dRrjjotgniA/w-d-xo.html 4. OOPs Concepts in Java : th-cam.com/video/7WhnYwoBY24/w-d-xo.html
Hi Deepak, Your videos are very clear and simple and you explain very well, Can you please add videos on String manipulation programs and also Collections theory and programs
Hello priyanka tamma, Thanks a lot for your valuable feedback and support, keep learning. Sure, after exception handling concepts string manipulation programs and then collections will be uploaded, thank you. Get updated to my new videos in the following link: th-cam.com/users/smartprogramming Below are the links of all the tutorials in java : 1. Java Tutorials for Beginners : th-cam.com/video/J1TPKWIPFaE/w-d-xo.html 2. Control Statements in Java (with programs and patterns) : th-cam.com/video/OUZkdKFeuK0/w-d-xo.html 3. Arrays in Java (With Algorithms) : th-cam.com/video/dRrjjotgniA/w-d-xo.html 4. OOPs Concepts in Java : th-cam.com/video/7WhnYwoBY24/w-d-xo.html 5. Exception Handling in Java : th-cam.com/video/y-NlcLcxiKY/w-d-xo.html
Thank you for your feedback. Below are some of the links for more videos and information : Java Tutorials Serial Wise : th-cam.com/play/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b.html 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
You are most welcome. Below are some of the links for more videos and information : Java Tutorials Serial Wise : th-cam.com/play/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b.html 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
Hello vidhyashri rao, Thanks a lot for your valuable feedback and support. Will try to improve my language for more understanding. If you are new, Please subscribe to get updates about new videos in the following link: th-cam.com/users/smartprogramming Below are the link of all the progrms shown in starting of the videos, thank you.Get updated to my new videos in the following link: th-cam.com/users/smartprogramming Below are the links of all the tutorials in java : 1. Java Tutorials for Beginners : th-cam.com/video/J1TPKWIPFaE/w-d-xo.html 2. Control Statements in Java (with programs and patterns) : th-cam.com/video/OUZkdKFeuK0/w-d-xo.html 3. Arrays in Java (With Algorithms) : th-cam.com/video/dRrjjotgniA/w-d-xo.html 4. OOPs Concepts in Java : th-cam.com/video/7WhnYwoBY24/w-d-xo.html
Thanks a ton. Keep watching. Below are some of the links for more videos and information : Java Tutorials Serial Wise : th-cam.com/play/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b.html 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
Thankyou so much sir.. I wish I could find you during my college days so that i would have been pro at coding till now. 👍🙏but as I have found you. Now I will definitely be pro at coding just because of you 🙏 thankyou again for changing million people life 👍god bless you. Live long 🕉
Thank you, and yes, we are working on more videos. Till then keep watching. 🤗 Below are some of the links for more videos and information : Java Tutorials Serial Wise : th-cam.com/play/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b.html 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
Thank you for your feedback. Below are some of the links for more videos and information : Java Tutorials Serial Wise : th-cam.com/play/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b.html 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
Thank you for your feedback. Below are some of the links for more videos and information : Java Tutorials Serial Wise : th-cam.com/play/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b.html 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
Thank you for your feedback. Below are some of the links for more videos and information : Java Tutorials Serial Wise : th-cam.com/play/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b.html 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
Thank you for your feedback. Below are some of the links for more videos and information : Java Tutorials Serial Wise : th-cam.com/play/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b.html 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
Hello rizvi hassan, 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: th-cam.com/users/smartprogramming Below are the links of all the tutorials in java : 1. Java Tutorials for Beginners : th-cam.com/video/J1TPKWIPFaE/w-d-xo.html 2. Control Statements in Java (with programs and patterns) : th-cam.com/video/OUZkdKFeuK0/w-d-xo.html 3. Arrays in Java (With Algorithms) : th-cam.com/video/dRrjjotgniA/w-d-xo.html
Use this concept : public class FindDuplicates { public static void main(String[] args) { int a[] = { 80, 70, 50, 50, 30, 10, 20, 10 }; System.out.print("Before Sorting: "); for (int i = 0; i < a.length; i++) { System.out.print(a[i] + "\t"); } System.out.print(" After Sorting: "); // sorting the elements for (int i = 0; i < a.length; i++) { for (int j = i + 1; j < a.length; j++) { if (a[i] > a[j]) { int temp = a[i]; a[i] = a[j]; a[j] = temp; } } } // After sorting for (int i = 0; i < a.length; i++) { System.out.print(a[i] + "\t"); } System.out.print(" After removing duplicates:"); int j = 0; a[j] = a[0]; for (int i = 0; i < a.length; i++) { if (a[j] != a[i]) { j++; a[j] = a[i]; } } for (int i = 0; i
Will upload soon. Thank you for your feedback. Below are some of the links for more videos and information : Java Tutorials Serial Wise : th-cam.com/play/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b.html 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
Thanks a ton and Keep watching. Below are some of the links for more videos and information : Java Tutorials Serial Wise : th-cam.com/play/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b.html 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
Thank you for your feedback. Below are some of the links for more videos and information : Java Tutorials Serial Wise : th-cam.com/play/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b.html 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
Thank you for your feedback. Below are some of the links for more videos and information : Java Tutorials Serial Wise : th-cam.com/play/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b.html 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
Thank you for your feedback. Below are some of the links for more videos and information : Java Tutorials Serial Wise : th-cam.com/play/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b.html 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
Thank you for your feedback. Below are some of the links for more videos and information : Java Tutorials Serial Wise : th-cam.com/play/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b.html 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
Thank you for your feedback. Below are some of the links for more videos and information : Java Tutorials Serial Wise : th-cam.com/play/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b.html 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
Keep watching. Thank you for your feedback. Below are some of the links for more videos and information : Java Tutorials Serial Wise : th-cam.com/play/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b.html 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
Thank you for your feedback. Below are some of the links for more videos and information : Java Tutorials Serial Wise : th-cam.com/play/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b.html 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
Channel link: th-cam.com/users/smartprogramming Below are the links of all the tutorials in java : 1. Java Tutorials for Beginners : th-cam.com/video/J1TPKWIPFaE/w-d-xo.html 2. Control Statements in Java (with programs and patterns) : th-cam.com/video/OUZkdKFeuK0/w-d-xo.html 3. Arrays in Java (With Algorithms) : th-cam.com/video/dRrjjotgniA/w-d-xo.html
Thank you for your feedback. Below are some of the links for more videos and information : Java Tutorials Serial Wise : th-cam.com/play/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b.html 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
Hello Dada Kshirsagar , we will upload it soon Thanks a lot for your valuable feedback and support. Get updated to my new videos in the following link: th-cam.com/users/smartprogramming Below are the links of all the tutorials in java : 1. Java Tutorials for Beginners : th-cam.com/video/J1TPKWIPFaE/w-d-xo.html 2. Control Statements in Java (with programs and patterns) : th-cam.com/video/OUZkdKFeuK0/w-d-xo.html 3. Arrays in Java (With Algorithms) : th-cam.com/video/dRrjjotgniA/w-d-xo.html 4. OOPs Concepts in Java : th-cam.com/video/7WhnYwoBY24/w-d-xo.html?
Hello prasanna yadav, 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: th-cam.com/users/smartprogramming Below are the links of all the tutorials in java : 1. Java Tutorials for Beginners : th-cam.com/video/J1TPKWIPFaE/w-d-xo.html 2. Control Statements in Java (with programs and patterns) : th-cam.com/video/OUZkdKFeuK0/w-d-xo.html 3. Arrays in Java (With Algorithms) : th-cam.com/video/dRrjjotgniA/w-d-xo.html
Hello shaik6765, These types of cases will be explained in string tutorials very deeply, keep learning. Get updated to my new videos in the following link: th-cam.com/users/smartprogramming Below are the links of all the tutorials in java : 1. Java Tutorials for Beginners : th-cam.com/video/J1TPKWIPFaE/w-d-xo.html 2. Control Statements in Java (with programs and patterns) : th-cam.com/video/OUZkdKFeuK0/w-d-xo.html 3. Arrays in Java (With Algorithms) : th-cam.com/video/dRrjjotgniA/w-d-xo.html 4. OOPs Concepts in Java : th-cam.com/video/7WhnYwoBY24/w-d-xo.html
Hello Sir, It is very helpful video. I have executed program for sorted array, Using 'a.length-1' it is still showing exception but if I use 'a.length-2' then program executes fine. I am not getting reason behind. Plz help.
Hello telugu duds..!! Thanks a lot for your valuable feedback and support. Get updated to my new videos in the following link: th-cam.com/users/smartprogramming Below are the links of all the tutorials in java : 1. Java Tutorials for Beginners : th-cam.com/video/J1TPKWIPFaE/w-d-xo.html 2. Control Statements in Java (with programs and patterns) : th-cam.com/video/OUZkdKFeuK0/w-d-xo.html 3. Arrays in Java (With Algorithms) : th-cam.com/video/dRrjjotgniA/w-d-xo.html 4. OOPs Concepts in Java : th-cam.com/video/7WhnYwoBY24/w-d-xo.html?
i have created many programs without it but will create next programs by Scanner class, taking user input, sorry for inconvenience, thank you, keep learning. Get updated to my new videos in the following link: th-cam.com/users/smartprogramming Below are the links of all the tutorials in java : 1. Java Tutorials for Beginners : th-cam.com/video/J1TPKWIPFaE/w-d-xo.html 2. Control Statements in Java (with programs and patterns) : th-cam.com/video/OUZkdKFeuK0/w-d-xo.html 3. Arrays in Java (With Algorithms) : th-cam.com/video/dRrjjotgniA/w-d-xo.html 4. OOPs Concepts in Java : th-cam.com/video/7WhnYwoBY24/w-d-xo.html
ohh, sorry for that, below is the program : import java.util.Scanner; public class MagicNumber { public static void main(String args[]) { Scanner ob = new Scanner(System.in); System.out.println("Enter the number to be checked."); int n = ob.nextInt(); int sum = 0, num = n; while (num > 9) { sum = num; int s = 0; while (sum != 0) { s = s + (sum % 10); sum = sum / 10; } num = s; } if (num == 1) { System.out.println(n + " is a Magic Number."); } else { System.out.println(n + " is not a Magic Number."); } } }
This will only print the elements we want and remove the extra zeros ! import java.util.*; class main{ public static void main(String[] args){ int arr[]={1,1,2,3,4,5}; Arrays.sort(arr); int j=0; int count=0; int temp[]=new int[arr.length]; for(int i=0;i
hi Sir, muze yeh batana hai ki maine y remove duplicate element program same as run kiya but maine jo element 23 45 43 nos liy per run kiya to sorted nahi aa rha
write a program to transform input array into output array. Input Array : 2,4,8,5,12,15,6,10,7,30,25,43,46,45,21 Output Array : 2,4,8, 12, 6, 7, 43,46,21, 5,15,10,30,25,45 How to solve it bro please help
Hello P S, Thanks a lot for your valuable feedback and support, keep learning. You can do this just by using if else condition while iterating the array. Get updated to my new videos in the following link: th-cam.com/users/smartprogramming Below are the links of all the tutorials in java : 1. Java Tutorials for Beginners : th-cam.com/video/J1TPKWIPFaE/w-d-xo.html 2. Control Statements in Java (with programs and patterns) : th-cam.com/video/OUZkdKFeuK0/w-d-xo.html 3. Arrays in Java (With Algorithms) : th-cam.com/video/dRrjjotgniA/w-d-xo.html 4. OOPs Concepts in Java : th-cam.com/video/7WhnYwoBY24/w-d-xo.html 5. Exception Handling in Java : th-cam.com/video/y-NlcLcxiKY/w-d-xo.html
🚩🌳Professional Courses + Projects (Upto 80% off) 🌳 courses.smartprogramming.in
🔴 Core Java Playlist : th-cam.com/play/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b.html
🔴 Advance Java Playlist : th-cam.com/play/PLlhM4lkb2sEjVsbbZ_kiixY5CcR84IQUg.html
🔴 Android Playlist : th-cam.com/play/PLlhM4lkb2sEhdllbTIVF0rzD0coCiuHok.html
=====================================
▶ Core Java Chapter-wise Playlist ◀
⭕ 9. Collection Framework in Java | Java Data Structure : th-cam.com/play/PLlhM4lkb2sEiOcuH1g-CUuU288qmMNpyj.html
⭕ 8. Multithreading in Java : th-cam.com/play/PLlhM4lkb2sEh1pBs0KBb63PlKKqRx6M1a.html
⭕ 7. Strings In Java : th-cam.com/play/PLlhM4lkb2sEh8AARH5oEivYOrMgaVsPFb.html
⭕ 6. Exception Handling : th-cam.com/play/PLlhM4lkb2sEjaU-JAASDG4Tdwpf-JFARN.html
⭕ 5. OOP's Concepts : th-cam.com/play/PLlhM4lkb2sEhf5NlWeYh_gdcN49pHjVP0.html
⭕ 4. Arrays in Java : th-cam.com/play/PLlhM4lkb2sEi4UoqSmobDeA5VNI1f2w3C.html
⭕ 3. Control Statements : th-cam.com/play/PLlhM4lkb2sEgQmNKO43i7v60no4bdc3lI.html
⭕ 2. Java Introduction : th-cam.com/play/PLlhM4lkb2sEj6zsK25K9f15qNUATqYxGq.html
⭕ 1. Programming Basic Terminologies : th-cam.com/play/PLlhM4lkb2sEhwPZhFmlox57kaCgMm5UgC.html
=====================================
▶Advance Java Chapter-wise Playlist ◀
⭕ 1. JDBC (Java Database Connectivity) with MySQL : th-cam.com/play/PLlhM4lkb2sEjDXBqaYbwAoDAQKh2yczR7.html
⭕ 2. Servlet & JSP Tutorials for Beginners : th-cam.com/play/PLlhM4lkb2sEiiEAP0uSFXiFY8KdXPnN0f.html
At first I skipped watching this video due to language problem, but to this java program I didn't get proper explanation from other channels, so again I came back and started watching your video, now I feel language is not an issue when the explanation is crystal clear, anyone can understand it easily,, thanks a lot for explaining everything so clear👏👏
First I like then comment and then watch ur videos....becoz u r my hero....u r great a human..
Thank you for showing respect. Keep sharing with your friends too.
Below are some of the links for more videos and information :
Java Tutorials Serial Wise : th-cam.com/play/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b.html
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
Sir, In HashSet all values are inserted according to some Hashcode of values !! But here at the end while printing HashSet values, all values are inserted according to ascending order(i.e. default natural sorting) !!
According to the HashSet Concept, we can't expect this type of sorting ....I have only one doubt that how these values are inserted according to default natural sorting instead of printing unsorted wise !!??
And Rest,,,,, Great Lecture sir, Your videos keep me happy and motivated !! Durga sir and you are my true Inspiration for which I can't give up. Thanx for being there for us !! stay Blessed and happy always !! :)
The of you explained super everyone can understand ,i am week in pogramming but after seeing your video i can do .cz you explained every bit by bit.plz sir after geeting more suscribe dont change your way of teaching.thanks a lot sir
Hello Swagatika Mohapatra,
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:
th-cam.com/users/smartprogramming
Below are the link of all the progrms shown in starting of the videos, thank you.Get updated to my new videos in the following link:
th-cam.com/users/smartprogramming
Below are the links of all the tutorials in java :
1. Java Tutorials for Beginners : th-cam.com/video/J1TPKWIPFaE/w-d-xo.html
2. Control Statements in Java (with programs and patterns) : th-cam.com/video/OUZkdKFeuK0/w-d-xo.html
3. Arrays in Java (With Algorithms) : th-cam.com/video/dRrjjotgniA/w-d-xo.html
4. OOPs Concepts in Java : th-cam.com/video/7WhnYwoBY24/w-d-xo.html
Hi Deepak, Your videos are very clear and simple and you explain very well, Can you please add videos on String manipulation programs and also Collections theory and programs
Hello priyanka tamma,
Thanks a lot for your valuable feedback and support, keep learning.
Sure, after exception handling concepts string manipulation programs and then collections will be uploaded, thank you.
Get updated to my new videos in the following link:
th-cam.com/users/smartprogramming
Below are the links of all the tutorials in java :
1. Java Tutorials for Beginners : th-cam.com/video/J1TPKWIPFaE/w-d-xo.html
2. Control Statements in Java (with programs and patterns) : th-cam.com/video/OUZkdKFeuK0/w-d-xo.html
3. Arrays in Java (With Algorithms) : th-cam.com/video/dRrjjotgniA/w-d-xo.html
4. OOPs Concepts in Java : th-cam.com/video/7WhnYwoBY24/w-d-xo.html
5. Exception Handling in Java : th-cam.com/video/y-NlcLcxiKY/w-d-xo.html
Sir , I think no one teacher is as good as you. I love your teaching style and process. 🙏🏼🙏🏼🙏🏼🌹🌹🌹🌹🌹🌹
Thank you for your feedback.
Below are some of the links for more videos and information :
Java Tutorials Serial Wise : th-cam.com/play/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b.html
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
i am telugu person i dont know hindi but i understand your teaching very nice i feel very happy thankyou sir
You are most welcome.
Below are some of the links for more videos and information :
Java Tutorials Serial Wise : th-cam.com/play/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b.html
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
Amazing Sir. Using collection I knew but without collection you made it easy for me now. Thanku.
Deepak sir,I see many videos for this problem but no one explain the way you do,great sir ,thank you
Hashset method was very easy
Thank you sir❤🙏
thank you so much sir , though i dont understand hindi u made it very clear with the pictorial explanation
Hello vidhyashri rao,
Thanks a lot for your valuable feedback and support. Will try to improve my language for more understanding.
If you are new, Please subscribe to get updates about new videos in the following link:
th-cam.com/users/smartprogramming
Below are the link of all the progrms shown in starting of the videos, thank you.Get updated to my new videos in the following link:
th-cam.com/users/smartprogramming
Below are the links of all the tutorials in java :
1. Java Tutorials for Beginners : th-cam.com/video/J1TPKWIPFaE/w-d-xo.html
2. Control Statements in Java (with programs and patterns) : th-cam.com/video/OUZkdKFeuK0/w-d-xo.html
3. Arrays in Java (With Algorithms) : th-cam.com/video/dRrjjotgniA/w-d-xo.html
4. OOPs Concepts in Java : th-cam.com/video/7WhnYwoBY24/w-d-xo.html
Ur voice is so cleared and clear cut explanations in all programs
U r great sir....u make this logic soo easy for us....bcz of ur explanation ....great teacher🙏🙏😊😊
Thanks a ton. Keep watching.
Below are some of the links for more videos and information :
Java Tutorials Serial Wise : th-cam.com/play/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b.html
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
Hi Deepak,
You are the best trainer and thanks for your clear explanation.
Thankyou so much sir.. I wish I could find you during my college days so that i would have been pro at coding till now. 👍🙏but as I have found you. Now I will definitely be pro at coding just because of you 🙏 thankyou again for changing million people life 👍god bless you. Live long 🕉
Thank u with your video I got placed in mnc company
Sir you should make much much more videos as your style is superb of teaching
Thank you, and yes, we are working on more videos. Till then keep watching.
🤗
Below are some of the links for more videos and information :
Java Tutorials Serial Wise : th-cam.com/play/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b.html
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
Sir i watched your all videos of Java...It helped me a lot...thank you so much😊😊😊😊
Thank you for your feedback.
Below are some of the links for more videos and information :
Java Tutorials Serial Wise : th-cam.com/play/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b.html
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
best tutor of java in Hindi language. .👌
Thank you for your feedback.
Below are some of the links for more videos and information :
Java Tutorials Serial Wise : th-cam.com/play/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b.html
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
Hi Deepak can you please add videos on string programs your videos are very helpful
Dear Sir This video saved my Life
Sir thanks very very much for covering array in details from basic to intermediate
Thank you for your feedback.
Below are some of the links for more videos and information :
Java Tutorials Serial Wise : th-cam.com/play/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b.html
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
your tutorials helped me a lot. Thank you so much...
You are welcome! Thank You!
Keep Learning
Thank u Sir , your videos are very helpful for me ever
100 % recommend channel
I really love the videos
Very nice job sir......god bless you.....your channel will grow more day by day.....Thanks for this wonderful content....
Thank you for your feedback.
Below are some of the links for more videos and information :
Java Tutorials Serial Wise : th-cam.com/play/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b.html
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
Nice teach sir 😊👍💖👌aap itna achche se samjhate h ki saara doubt clear ho jata h
Hello rizvi hassan,
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:
th-cam.com/users/smartprogramming
Below are the links of all the tutorials in java :
1. Java Tutorials for Beginners : th-cam.com/video/J1TPKWIPFaE/w-d-xo.html
2. Control Statements in Java (with programs and patterns) : th-cam.com/video/OUZkdKFeuK0/w-d-xo.html
3. Arrays in Java (With Algorithms) : th-cam.com/video/dRrjjotgniA/w-d-xo.html
majja aa gya vedio dekh k kya pdhate ho bhai jabardast ho bhai aap. God bless u...
hello sir your videos are very clear and simole but effective , thank you for helping us sir
Use this concept :
public class FindDuplicates {
public static void main(String[] args) {
int a[] = { 80, 70, 50, 50, 30, 10, 20, 10 };
System.out.print("Before Sorting: ");
for (int i = 0; i < a.length; i++) {
System.out.print(a[i] + "\t");
}
System.out.print("
After Sorting: ");
// sorting the elements
for (int i = 0; i < a.length; i++) {
for (int j = i + 1; j < a.length; j++) {
if (a[i] > a[j]) {
int temp = a[i];
a[i] = a[j];
a[j] = temp;
}
}
}
// After sorting
for (int i = 0; i < a.length; i++) {
System.out.print(a[i] + "\t");
}
System.out.print("
After removing duplicates:");
int j = 0;
a[j] = a[0];
for (int i = 0; i < a.length; i++) {
if (a[j] != a[i]) {
j++;
a[j] = a[i];
}
}
for (int i = 0; i
sir plz also add other data structure video also like linked list , stack, queue your way of teaching is to good..........
Will upload soon.
Thank you for your feedback.
Below are some of the links for more videos and information :
Java Tutorials Serial Wise : th-cam.com/play/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b.html
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
the way u explain,is amazing sir❣️❣️
Hii sir. your explanation is superb. I know little bit Hindi only but I am understanding your videos very easily. Thank you sir
Thank your sir your way of teaching is excellent...
U r explanation is awesome sir 😁
Thanks a ton and Keep watching.
Below are some of the links for more videos and information :
Java Tutorials Serial Wise : th-cam.com/play/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b.html
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
The great tutor... please make all the dsa questions video...
You are Non Challengeable teacher...
all cleared Sir..
thank you sir
sir your videos are very helpful to us.
you explained very nicely....thanks
Thank you for your feedback.
Below are some of the links for more videos and information :
Java Tutorials Serial Wise : th-cam.com/play/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b.html
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
u saved my time thank u sir. very easy explanation😊
Thnks sir for such a good Logical concept. @Reverse a Sentence ka program Banao ,with or without using @Split function.
Sir please create a playlist of your program in sequence wise it will help a lot .Thanku for making us brilliant In programming.😊
Thank you for your feedback.
Below are some of the links for more videos and information :
Java Tutorials Serial Wise : th-cam.com/play/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b.html
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
Very usefull class.. Thank you sir
Thank you for your feedback.
Below are some of the links for more videos and information :
Java Tutorials Serial Wise : th-cam.com/play/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b.html
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
thank you sir easy to understand
You are welcome.
Awesome videos.very helpful for the studies.Thanks a lot :)
Thank you for your feedback.
Below are some of the links for more videos and information :
Java Tutorials Serial Wise : th-cam.com/play/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b.html
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
u r the beast teacher sir love from kanpur
Sir can you make a tutorial on seggregation of array.....
Hi Sir Your way of explain was awesome , Can u add video about thread.
Sir love your explanation and concept
Deepak sir plz give programming on removing duplicates of character in string....
Sir you are GREAT!!
Thank you for your feedback.
Below are some of the links for more videos and information :
Java Tutorials Serial Wise : th-cam.com/play/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b.html
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
Very good explanation sir... God bless you.
Thanks sir for clear explanation
Always Welcome
Hi bro, please upload videos on Algorithms.
Sure
Awesome sir..I have run this program in ide ..
Very informative
Thank You and Keep Supporting :)
Thank you so much !!
Welcome
Date and time operation pe ek video banado bhai isc java me bohot important hai
what if we first sort the unsorted array and then apply the basic method.will it run or not?
Very good tutorial sir
Keep watching.
Thank you for your feedback.
Below are some of the links for more videos and information :
Java Tutorials Serial Wise : th-cam.com/play/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b.html
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
Thanks You.
Thank you for your feedback.
Below are some of the links for more videos and information :
Java Tutorials Serial Wise : th-cam.com/play/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b.html
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
Thank you so much your video help me alot....
Sir, your coding videos are very interesting, Can i join your coding classes of java and Data structure remotely?
Could you please share your coding videos link serially, one after another . so that it is easy to watch videos.
sure, you can join online classes, mail me all your details on smart.programming.2101@gmail.com. thank you, keep learning.
Channel link:
th-cam.com/users/smartprogramming
Below are the links of all the tutorials in java :
1. Java Tutorials for Beginners : th-cam.com/video/J1TPKWIPFaE/w-d-xo.html
2. Control Statements in Java (with programs and patterns) : th-cam.com/video/OUZkdKFeuK0/w-d-xo.html
3. Arrays in Java (With Algorithms) : th-cam.com/video/dRrjjotgniA/w-d-xo.html
Hi Sir can you please make some videos on collection frame work as well..
thanks alot for his video.very nice.. but if i want to count no of repeation of number??
excellent sir ji , thanks sir ji
all clear sir
Thank you for your feedback.
Below are some of the links for more videos and information :
Java Tutorials Serial Wise : th-cam.com/play/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b.html
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
nice explanation 👍
Nice teaching sir super...
awesome explaination sir..........
give concepts on string....deepak sir
Sir, please string ke program ke bhi video banao.
Hello Dada Kshirsagar ,
we will upload it soon
Thanks a lot for your valuable feedback and support.
Get updated to my new videos in the following link:
th-cam.com/users/smartprogramming
Below are the links of all the tutorials in java :
1. Java Tutorials for Beginners : th-cam.com/video/J1TPKWIPFaE/w-d-xo.html
2. Control Statements in Java (with programs and patterns) : th-cam.com/video/OUZkdKFeuK0/w-d-xo.html
3. Arrays in Java (With Algorithms) : th-cam.com/video/dRrjjotgniA/w-d-xo.html
4. OOPs Concepts in Java : th-cam.com/video/7WhnYwoBY24/w-d-xo.html?
Thank you sir
awesome video sir Thank you so much sir!!
Hello prasanna yadav,
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:
th-cam.com/users/smartprogramming
Below are the links of all the tutorials in java :
1. Java Tutorials for Beginners : th-cam.com/video/J1TPKWIPFaE/w-d-xo.html
2. Control Statements in Java (with programs and patterns) : th-cam.com/video/OUZkdKFeuK0/w-d-xo.html
3. Arrays in Java (With Algorithms) : th-cam.com/video/dRrjjotgniA/w-d-xo.html
Sir collections of videos upload kre .
I request sir.
As soon as possible
when i enter the number like "aaaaabbbbqqqqqjjj" then oput will display like this" 5a4b5q3jjj" without predefined method and not use collection
Create a Java Programme in which if input is = abacab than output is =a3b2c1
Thankyou soo much.. sir
We can remove duplicacy from a u sorted array with out collections
Thanks for sharing a valuable stuffs ,but i have a doubt can we do it by comparing by presence method?
Sir plz post collection videos
Sure, Super soon
Nice Video......
Hi sir
Agar string suppose communicate me m double tymes aa rha hai to hum duplicate letters ko kaise print kare?
Hello shaik6765,
These types of cases will be explained in string tutorials very deeply, keep learning.
Get updated to my new videos in the following link:
th-cam.com/users/smartprogramming
Below are the links of all the tutorials in java :
1. Java Tutorials for Beginners : th-cam.com/video/J1TPKWIPFaE/w-d-xo.html
2. Control Statements in Java (with programs and patterns) : th-cam.com/video/OUZkdKFeuK0/w-d-xo.html
3. Arrays in Java (With Algorithms) : th-cam.com/video/dRrjjotgniA/w-d-xo.html
4. OOPs Concepts in Java : th-cam.com/video/7WhnYwoBY24/w-d-xo.html
Hello Sir, It is very helpful video. I have executed program for sorted array, Using 'a.length-1' it is still showing exception but if I use 'a.length-2' then program executes fine. I am not getting reason behind. Plz help.
Sir muze removing duplicates from string ye code chahiye but wo mil nhi rha he
Super sir...
Hello telugu duds..!!
Thanks a lot for your valuable feedback and support.
Get updated to my new videos in the following link:
th-cam.com/users/smartprogramming
Below are the links of all the tutorials in java :
1. Java Tutorials for Beginners : th-cam.com/video/J1TPKWIPFaE/w-d-xo.html
2. Control Statements in Java (with programs and patterns) : th-cam.com/video/OUZkdKFeuK0/w-d-xo.html
3. Arrays in Java (With Algorithms) : th-cam.com/video/dRrjjotgniA/w-d-xo.html
4. OOPs Concepts in Java : th-cam.com/video/7WhnYwoBY24/w-d-xo.html?
Plz take value from keyboard
i have created many programs without it but will create next programs by Scanner class, taking user input, sorry for inconvenience, thank you, keep learning.
Get updated to my new videos in the following link:
th-cam.com/users/smartprogramming
Below are the links of all the tutorials in java :
1. Java Tutorials for Beginners : th-cam.com/video/J1TPKWIPFaE/w-d-xo.html
2. Control Statements in Java (with programs and patterns) : th-cam.com/video/OUZkdKFeuK0/w-d-xo.html
3. Arrays in Java (With Algorithms) : th-cam.com/video/dRrjjotgniA/w-d-xo.html
4. OOPs Concepts in Java : th-cam.com/video/7WhnYwoBY24/w-d-xo.html
Sir aap koi apna DSA ka course leke aao complete 😊😊😊😊 paid
Sir . Please give the program for magic number.. today I got rejected from a company only because of magic number program
ohh, sorry for that, below is the program :
import java.util.Scanner;
public class MagicNumber
{
public static void main(String args[])
{
Scanner ob = new Scanner(System.in);
System.out.println("Enter the number to be checked.");
int n = ob.nextInt();
int sum = 0, num = n;
while (num > 9)
{
sum = num;
int s = 0;
while (sum != 0)
{
s = s + (sum % 10);
sum = sum / 10;
}
num = s;
}
if (num == 1)
{
System.out.println(n + " is a Magic Number.");
}
else
{
System.out.println(n + " is not a Magic Number.");
}
}
}
This will only print the elements we want and remove the extra zeros !
import java.util.*;
class main{
public static void main(String[] args){
int arr[]={1,1,2,3,4,5};
Arrays.sort(arr);
int j=0;
int count=0;
int temp[]=new int[arr.length];
for(int i=0;i
Best 🔥
hi Sir, muze yeh batana hai ki maine y remove duplicate element program same as run kiya but maine jo element 23 45 43 nos liy per run kiya to sorted nahi aa rha
Nyc one
how to remove the zeros
I want a program which is like my name is "sachin ramesh tendulkar sastri" I want this name as s.r.t.sastri
Input={ 6,8,21,31,8,5,7,9,5}
Output=52//21+31
16 //7+9
Add the elements between duplicate element
Sir me 8th semester me hu mujhe job ki jarurt he . Kahi pr job ho to bataiye mujhe sir
Please make this video in English
write a program to transform input array into output array.
Input Array : 2,4,8,5,12,15,6,10,7,30,25,43,46,45,21
Output Array : 2,4,8, 12, 6, 7, 43,46,21, 5,15,10,30,25,45
How to solve it bro please help
Hello P S,
Thanks a lot for your valuable feedback and support, keep learning.
You can do this just by using if else condition while iterating the array.
Get updated to my new videos in the following link:
th-cam.com/users/smartprogramming
Below are the links of all the tutorials in java :
1. Java Tutorials for Beginners : th-cam.com/video/J1TPKWIPFaE/w-d-xo.html
2. Control Statements in Java (with programs and patterns) : th-cam.com/video/OUZkdKFeuK0/w-d-xo.html
3. Arrays in Java (With Algorithms) : th-cam.com/video/dRrjjotgniA/w-d-xo.html
4. OOPs Concepts in Java : th-cam.com/video/7WhnYwoBY24/w-d-xo.html
5. Exception Handling in Java : th-cam.com/video/y-NlcLcxiKY/w-d-xo.html
@@SmartProgramming you are very helpful bro.you teach clearly
Thanks
@@Dreamriter thanks a lot for your feedback, keep learning.