Print Initials of a Name in Java | String Program | ICSE Class 10
ฝัง
- เผยแพร่เมื่อ 8 พ.ย. 2024
- Program to input a name and print its initials as --
Input - Subhash Chandra Bose
Output- S.C. Bose
A Program to print a Name input ,with initials keeping the last word as it is.
ICSE Class 10, 11, 12 Computer
****************************************************************
String Functions: • Functions of String Cl...
String (Complete Playlist) :- • String in Java
***************************************************************
You can follow us here,
Twitter :- / alokmaurya95
Instagram :- / alokmaurya95
Facebook :- / alokmauryaofficial
Join me on Telegram,
Our channel :- t.me/amplifyle...
Contact me :- t.me/alokmaurya95
Check out our website :- www.amplifylearning.co.in
Email us at :- amplifylearning@yahoo.com
******************************************************************************************************
Join our youtube family, lets grow together!
Subscribe to Amplify Learning
/ amplifylearning
#AmplifyLearning #Computer
2024 boards we have overmorrow
💯💯 helped a lotttttt
Ya
You are so good sir
So nice of you
Sir I have a request to make video on 2021 class 10 Computer Applications paper for section A and B, the question that can come.
Thank you!
Literally helpful bhaiya
Thank you very much sir
Thank you sir i under it properly
Super duper sir❤️
Is strings program coming in 10 icse 2021 paper
@@sv0mega125 yesss!
@@muskeiww_medico but some are saying " in reduced syllabus it's mentioned it's not coming". Are you confirmed.
@@sv0mega125 yess! its coming it has also came in my preboards
Tysm
Nice
You are best teacher for our school
Thank you so much...I was troubling with this program a lot .now it's completely clear. 🙏
Thank you so much sir
You're most welcome
Thanks a lot sir
I have seen many solutions of this program, but your solution is best and much easier to understand than others.
You explain very easily than book
Brilliant explanation
Thanks a lot it helped me
Sir aapke per kidhar h.......thank you so much sirrr .. Always a difficult part for me but not now..
Thank you. I was having problem in understanding this. This vdo made it easy
bohot bariya sir aur bhi program aese hi solve karte rahiye plzzz sir!
Legends ar watching this before exam 😂
Thank you so much sir..☺️
Sir it is extremely helpful
Glad to hear that
Kitni asani se samjha diya apne sir ! Thank you soooo much 🙏
Best explanation
Thank you, Sahid
Welcome sir
Very helpful.Thanks
Good explanation
Very good
Wounder full explanation. Thank you sir
Sir u r really great.
Nice video
Very nicely explained
Very good video sir
Great video sir..
Bhaiya aap boht ache parate ho thanks bhaiya mujhe string boht hard lagta tha ab easy lagne laga bhaiya please kya aap computer ke further reduced Syallbus icse par video banayenge ki kaunsa kaunsa karna ha kaunsa kaunsa nahi. Please 🙏
Sir menu driven ke liye bhee samjadhijeye GA plz
I requested you to make this video. Pls dont mind that I wasted your time. Just for you I passed in my exam easily. You are the best teacher. Keep on helping.🙏🙏🙏
Pls can you make a video on basic concept of single dimensional array and how to do its programs? Pls sir🙏🙏
Please don't day that. I hope that the video helped you. Thank you for that complement. 😊
@@paramitadas6052 For array watch this: th-cam.com/play/PLGsRpMr9gXDdmD6lAybN9_uUwMmFCK7Al.html
In array it will only come to arrange in acending or descending by bubble sort or by selection sort
How intelligent you are!!!! thankuu sir for your fabulous teaching keep helping us
Thank you for the complement :)
Thanks bhaiya
Maja aa gya👍👍
What a fabulous teacher you are 🙏🏻🙏🏻Your way of teaching is of another level Thank you sir for explaining 🙏🏻
Thanks a lot sir
You're welcome
Thanks a ton Sir ☺
THANK YOU SO SO MUCH FOR THIS VIDEO SIR :)
PLEASE MAKE A VIDEO ON :
WAP TO ACCEPT A STRING AS A SENTENCE. DISPLAY THE NEW STRING AFTER REVERSING THE CHARACTERS OF EACH WORD.
please please make a video on it sir
Tnx sir for u only i kept 92 out of 100....in models.
Please make programming on java such as to take input computer is fun and the output should be fun is computer
Nicely explained and very much clearly cleared all my concepts of word extraction.Thank you Sir Ji
Thanks sir
Before putting a space before the string you should always first use trim method to remove any trailing spaces to avoid errors
sir string prg is removed for this batch 2021 but functions are there...still this video is very helpful for those who r interested thank you sirr luv from your city...pl tell your address might living near me i am in gomti nagar...
Can you please tell me what important things are reduced from syllabus plz
Sir u are the best teacher on earth and ur videos have been such a help to me....... All these people nowadays keep launching apps but u have changed the very way I treat computer.....I have recommended ur videos to others and all of them love it...but I would also request u to add more videos regarding the programs because some programs are missing from ur playlists......and keep helping us✌️
Bhai aap topicwise video banaiye computer me aur phy che maths aap jaisa ha wasi hi rehne dijeye it's not advice it's a request kyuki computer me topicwise koi nhi padata ha icse ke liye aap 10 syllabus pura kerne ki koshish kriye ga school me sir doesn't teach well per aap ki explanation 🙌🙌🙌👏👏👏👏👏👏👏👏toh awesome bass aap plzzzz aap topicwise padaiye love you 30000000
Okay, Arbab
Sir please made a video on theory part of 10 computer
Can u pls tell me a mobile app through which I can do java programming using my mobile.....actually I can't avail laptop/desktop now...
Download AIDE app for Android
Please comment on this on how to reverse a string name Eg-
Input - Shankar Dayal Sharma
Output - Sharma Shankar Dayal
Please reply or comment this program
String s = " your name ";
int pos = s.lastIndexOf(' ');
String newName = s.substring(pos+1) + " " + s.substring(0, pos);
System.out.print(newName);
Thanks so much for you help
Sir please paper ke pahle theory part of last 10 years explain kar dege to great hoga....
Perfect explanation 👍👍
How to make loop programming in Java class 9th for example write the programs in Java to display the first ten terms of the following series
can you please provide the algorithm
It was amazing.
Thank u sir. You really helped me in doing my homework n u make understand the programs so well. Sir can u please help me in understanding one program
If we need to print the output like this
Sample input :Subhash Chandra Bose
Sample output: Bose S C how we can do this
Okay, I will do this program the coming videos. Press the bell icon & stay tuned.
Yes sir.
@@AmplifyLearning sir i also need the solution to the above problem . Sir plz tell in short its very urgent!! Plz Sir
Sir what is the correct way of writing a space in java sometime we write " " this and sometime ' ' this. Pls tell
Anf if wr want to compare with aspace can we compare with 32?😞
" " is used when the variable is in string from and ' ' is used when it is in character form
Please reply sir
very nice explanation and now i have decided that i don't need any tution or coaching centre to go only to learn java
very nice explanation sir each line of the program you have explained very clearly
Best regards .
sir plz make video on series programming like
eg - 2 4 6 8 10 upto n terms
This is my humble request
for(i=0;i
Sir pls make video on a program that counts the number of times a particular word occurs in a string choosen by the user ...
Sir mera string ka sara doubt world tour karne gaya
how can be do the program to print the initial letter of our surname in wrapper class .pls explain it sir
Nahi samaj Aya bhai very hard
Very helpful video sir...can uh pls tell me that from where I can see more programs of yours of string manipulation in java...
Sir plz solve this: write a program to enter a string containing three words remove the word kumar from the string
Preboards
You are a great teacher. Your explanation skills are really amazing. Please make some videos on java programs like happy number, special no, magic number.
Sir, here instead of sc.nextLine()
Can we use sc.nextInt() ?
Please reply sir
How can you use sc.nextInt()
U are trying to deal with a string
So have to use sc.nextLine()
sc.nextInt () is used for integers not for strings.....
@@vivekagarwal4298 ya
But sir agar user aisa koi input diya then
Speed killer bro
Ek word ke baad ek sai hyada space then koi error hoga kya??
yes
Hey man thanks very much for the reply. Please it just one more string program can your solve it for me will prove very beneficial for me-
INPUT - SHANKAR DAYAL SHARMA
OUTPUT - SHARMA DAYAL SHANKAR
PLEASE IF YOU CAN HELP ME OUT
THANKS:-):-)
Yes even I need it..
Aapane Yahan per scanner Kyon Liya Hai import java.io Kyon Nahin
You must watch this video to understand this: th-cam.com/video/7Nfnea37R7w/w-d-xo.html
Great video!
What if:
System.out.println("Enter your last name:");
lastName = input.next();
System.out.println("Enter your first name:"
);
firstName = input.next();
System.out.println("Enter your middle name:");
middleName = input.next();
And I need to display eg: S. C. Bose
Any help would be appreciated :)
That's a logic, but its not expected. What's expected from you is that you get a full name in one string and then you must print it in that manner.
@@AmplifyLearning
I figured it out.
So first I declared all strings and ints:
String lastName = ""; // Declaring string and int values to be used.
String firstName = "";
String middleName = "";
int houseNum = 0;
String streetName = "";
String streetType = "";
String city = "";
int Age = 0;
Then because I was building a program that would have multiple entries from users, this is what I did and it executed perfectly:
System.out.println(firstName.charAt(0) + ". " + ' ' + middleName.charAt(0) + ". " + ' ' + lastName);/* Display first and middle initial followed
by last name.eg. A. B. Carey on 1 line.
If it can help anyone else, why not :)
Thanks for responding.
Sir, if we have to print the surname and then the initials , what do we need to do.
Sir plz tell its very urgent!!
sir plz if uh could write a small program in the comment box itself it would be of very great help!!
Its very urgent sir plzz!!
dislike
Thanks you sir ❤❤
Welcome!
Thank you sir
Nice