String in Java - Word Programs

  Рет қаралды 41,258

Simply Coding

Simply Coding

Күн бұрын

This video covers Level 2 programs, which require you to break a String into words and then do some processing. It covers basic programs on just printing words, to counting words, finding words or editing any String.
Programs Explained
00:00 - Solving String Programs in Java
02:42 - String tokenizer in Java
05:03 - Printing each word of a sentence in separate line
05:29 - Print the first character of each word in a sentence
05:49 - Print the first 2 characters of each word in a sentence
06:09 - Print a word starting with a particular letter or string
06:38 - Print word ending with a particular letter or string
06:50 - Print word containing a particular letter or string
07:08 - Print words having particular number of characters
07:27 - Printing string with special characters
08:17 - Find longest word in a sentence in Java
08:57 - Find a particular word in a string
09:44 - Count number of words in a sentence in Java
10:13 - Count number of words ending with a particular letter
11:14 - Changing a word with another in Java
12:06 - Deleting a word in java
12:49 - Changing case of word in Java
13:50 - Capitalize each word in Java
14:36 - Swap first and last letter of each word in Java

Пікірлер: 43
@blinkypie223
@blinkypie223 Жыл бұрын
Before I used to fear java ma'am ,Thank you ma'am , now I became an expert to solve any question easily with simple logic just because of your efforts 💕
@highclassmafia5361
@highclassmafia5361 Жыл бұрын
Same bro
@kumarsharad2027
@kumarsharad2027 Жыл бұрын
These concept of string videos is something else, Thank you, Cant Express, So Awsome!!
@deeptijain4327
@deeptijain4327 2 жыл бұрын
Your the best teacher concerning java out there
@ddk1062
@ddk1062 Жыл бұрын
Excellent video, thanks for it 🙏🙏🙏
@Harshad-um7xr
@Harshad-um7xr 6 ай бұрын
Thank you so much helped a lot!!
@user-fo7oq2dg5c
@user-fo7oq2dg5c 4 ай бұрын
Utterly beautiful explanation..!! Hats Off!!! 🤩🤩
@user-tk8tx1yv1f
@user-tk8tx1yv1f 4 ай бұрын
Wow what an explanation!
@indiancarowners7372
@indiancarowners7372 2 жыл бұрын
I was waiting for it thanks
@eliaszeray7981
@eliaszeray7981 Жыл бұрын
Great! Thank u.
@subhashinisinha1280
@subhashinisinha1280 Жыл бұрын
Thanku man, i was finding this type of video
@simplivandcoding7789
@simplivandcoding7789 2 жыл бұрын
veryvery wonderfuul teaching
@smartstruggle9838
@smartstruggle9838 5 ай бұрын
Awesome 👍👍
@Sneha-gx3zw
@Sneha-gx3zw 2 жыл бұрын
Thank you :)
@jitendradhaka4780
@jitendradhaka4780 11 ай бұрын
Thank you so so much
@hashtag-ll3ic
@hashtag-ll3ic 7 күн бұрын
extremely helpful as I'm an ICSE student ma'am , Hats off 💯
@kritvipandey5106
@kritvipandey5106 5 ай бұрын
thank you so much you saving my boards 🙏🙏
@monicajayakumar6113
@monicajayakumar6113 Жыл бұрын
I wish I had a teacher like you in school..
@sona12315
@sona12315 10 ай бұрын
Thank you soo much
@umakantapradhan5745
@umakantapradhan5745 11 ай бұрын
Underrated video
@varungola4720
@varungola4720 2 жыл бұрын
Thank you mam🙂🙂🙂
@sanjeevhansanur6203
@sanjeevhansanur6203 Жыл бұрын
very good
@ShivamSingh-gc6pm
@ShivamSingh-gc6pm Жыл бұрын
Thanku mam🙏.
@Zupiterr
@Zupiterr Жыл бұрын
what about if more white space between the word?
@Sudharsanprabu457
@Sudharsanprabu457 6 күн бұрын
Mam i need this type of video for array also
@PlaxmiSrivastav
@PlaxmiSrivastav 11 ай бұрын
How to print a double letter sequence program in string? Please explain.
@saini4247
@saini4247 Жыл бұрын
Simply coding is love!!!!!!!!!
@saini4247
@saini4247 Жыл бұрын
She made coding really easy........Handsoff to you......our school teacher teaches so many logics but did not tell us wat to solve them ❤️❤️❤️❤️❤️
@sandhyak2657
@sandhyak2657 Жыл бұрын
only one word is getting read in the sentence. can someone help me with the working code
@crewify5460
@crewify5460 Жыл бұрын
last coding not working mam
@simon-iu2jb
@simon-iu2jb Жыл бұрын
6:00 doesn't work if word contains 1 letter like "i am"
@himats7195
@himats7195 Жыл бұрын
try putting if condition (w.length()>1)
@NeverStopLearning56
@NeverStopLearning56 Жыл бұрын
How to print alternate characters ? And how to convert print convert the alternate characters to uppercase and print it
@SimplyCoding
@SimplyCoding Жыл бұрын
Just add i%2 == 0 as a condition before print to print alternate characters. Use the same condition above and if true, convert to uppercase and and then print, else print as is.
@NeverStopLearning56
@NeverStopLearning56 Жыл бұрын
@@SimplyCoding thank you
@NeverStopLearning56
@NeverStopLearning56 Жыл бұрын
@@SimplyCoding can you please type both the logics and pin this comment, So that even others will get to know....
@Rajanrajaram
@Rajanrajaram Жыл бұрын
No one Can think java program is so easy......
@cherukurisagarteja7938
@cherukurisagarteja7938 6 ай бұрын
explantion is awesome madam but the code doesn't give a correct output
@muthuraja4523
@muthuraja4523 Жыл бұрын
Last program 15.45 doesn't work
@himats7195
@himats7195 Жыл бұрын
I have added if conditions to solve this. If there is any other better way please suggest. Thanks. else { char first = w.charAt(0); char last = w.charAt(w.length() - 1); if (w.length() == 1) { ns = ns + first + " "; } if (w.length()==2) { ns = ns + last + first + " "; } else if (w.length() > 2) { String middle = w.substring(1, w.length() - 1); ns = ns + last + middle + first + " "; }
@mouni-o-
@mouni-o- 2 жыл бұрын
Mam please do it in python mam please mam and matrix method also in logical way
@wilsonvaboum1338
@wilsonvaboum1338 Жыл бұрын
Excellent video, thanks for it 🙏🙏🙏 However, whe you said if (c !=' '); isn't ! You can write if(!Character.isWhitespace());
@maheshm6557
@maheshm6557 3 ай бұрын
Thank you ❤
Inheritance in Java
9:35
Simply Coding
Рет қаралды 4,9 М.
Solve String Programs in Java
14:37
Simply Coding
Рет қаралды 81 М.
KINDNESS ALWAYS COME BACK
00:59
dednahype
Рет қаралды 151 МЛН
Looks realistic #tiktok
00:22
Анастасия Тарасова
Рет қаралды 101 МЛН
3M❤️ #thankyou #shorts
00:16
ウエスP -Mr Uekusa- Wes-P
Рет қаралды 15 МЛН
1D Array Programs in Java
19:17
Simply Coding
Рет қаралды 30 М.
Reverse Sentence By Words - Logic Building Practice
6:49
CloudTech
Рет қаралды 21 М.
Solve any square or hollow pattern in Java
17:15
Simply Coding
Рет қаралды 146 М.
Solve any series program in Java - Part 1
24:12
Simply Coding
Рет қаралды 90 М.
Solve any Factor Program in 10 minutes
8:26
Simply Coding
Рет қаралды 33 М.
Solve any Character or String pattern in Java
22:22
Simply Coding
Рет қаралды 78 М.
KINDNESS ALWAYS COME BACK
00:59
dednahype
Рет қаралды 151 МЛН