How to Convert a String with spaces from lowercase to uppercase in Java | Java Programs | Part 2

  Рет қаралды 30,650

ABC - Technology Training & Upskilling

ABC - Technology Training & Upskilling

Күн бұрын

Пікірлер: 17
@ABCforTechnologyTraining
@ABCforTechnologyTraining 5 жыл бұрын
Learn from Leaders, Learn from ABC. Watch our latest technical videos in your language: For Hindi:- bit.ly/2TRuGVP For Kannada:- bit.ly/31NH63M For Telugu:- bit.ly/2MuYRRP For Tamil:- bit.ly/2Num5Hz
@ABCforTechnologyTraining
@ABCforTechnologyTraining 5 жыл бұрын
Do you have any questions on this topic? Please share your feedback in the comment section below and we'll have our experts answer it for you. Thanks for watching the video
@riyagarg9706
@riyagarg9706 5 жыл бұрын
Sir, You are such a great trainer. Please upload more videos on java related to other topics🙏
@nikhilkumargiri4266
@nikhilkumargiri4266 5 жыл бұрын
Can I valid for user input.i was trying this but only the letter before the string was converting.
@ABCforTechnologyTraining
@ABCforTechnologyTraining 5 жыл бұрын
No worries. Reply to this comment with your program code. We'll fix it for you. Happy Coding!!
@gaurisharma2253
@gaurisharma2253 4 жыл бұрын
Sir your explanation is just great....do u teach python, JavaScript too??
@umarwani4810
@umarwani4810 5 жыл бұрын
But sir without using a condition for white spaces, still we r getting the desired output. 32-32=0 And char value of 0 is null.. Then why it is showing space
@ashwinilohar1169
@ashwinilohar1169 5 жыл бұрын
same doubt I also have .
@muhammadsibtain4855
@muhammadsibtain4855 5 жыл бұрын
Sir by charAt(i) we can access the string char by using for loop
@madhupreethi8554
@madhupreethi8554 5 жыл бұрын
Sir can't we use replace() for spaces other than if comdition?
@ABCforTechnologyTraining
@ABCforTechnologyTraining 5 жыл бұрын
replace() method is designed to "Replace" all occurrences of the old sequence of characters with the new sequence of characters. Please note, in our case, we are not supposed to REPLACE the spaces with any other character in the output, instead, spaces should be RETAINED as it is in the output. Hence if condition will ensure to skip the spaces for case conversion without replacing them with any other character/s.
@mopurinandini8586
@mopurinandini8586 5 жыл бұрын
Sir,how to find the string length,if the input should be taken by a user.it can be a sentence only with alphabets and spaces,no special characters are allowed,I tried some methods Sir,but its showing the length of only first word before space
@maksaini7515
@maksaini7515 5 жыл бұрын
if(y[i]! =' ') invalid character constant error is coming what is the way to solve it.
@ABCforTechnologyTraining
@ABCforTechnologyTraining 5 жыл бұрын
Please reply to this comment with your complete program code. We'll look into it.
@GulbargaRamNavamiUstav
@GulbargaRamNavamiUstav 5 жыл бұрын
Hello sir... while converting from uppercase to lowercase output is showing '@' symbol at spaces... whats the issue sir?
@GulbargaRamNavamiUstav
@GulbargaRamNavamiUstav 5 жыл бұрын
ASCII value for space is 32 and for that y(i)+32 is 64 ascii value means it is giving @ result at space... if we want space than what we do sir
@ankitshrivastava1772
@ankitshrivastava1772 4 жыл бұрын
This will also give the same output while(i!=arr.length) { if(arr[i]==' ') { System.out.print(arr[i]); i++; } arr[i]= (char) (arr[i]-32); System.out.print(arr[i]); i++; } }
Convert First Letter of Each Word From Lowercase to Uppercase in Java | Java Programs | Part 3
5:49
ABC - Technology Training & Upskilling
Рет қаралды 50 М.
How to convert lowercase Strings to uppercase in Java | Strings Programming  tutorials | Part 1
9:28
ABC - Technology Training & Upskilling
Рет қаралды 43 М.
За кого болели?😂
00:18
МЯТНАЯ ФАНТА
Рет қаралды 3,2 МЛН
Players vs Pitch 🤯
00:26
LE FOOT EN VIDÉO
Рет қаралды 138 МЛН
Creative Justice at the Checkout: Bananas and Eggs Showdown #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 10 МЛН
Loops in Java | for | while | do-while | for-each loop in java | loops in java programming | ABC
13:56
ABC - Technology Training & Upskilling
Рет қаралды 24 М.
Младшая Сестра Влюбилась в Моего Краша !
20:47
Solve String Programs in Java
14:37
Simply Coding
Рет қаралды 100 М.
Best 10 Items I Tested in 2024!
20:12
Project Farm
Рет қаралды 699 М.
How to verify if a String contains only integers | Java Tutorials | String Program in Java
10:25
ABC - Technology Training & Upskilling
Рет қаралды 36 М.
Copying one String into another in Java | Java programming | Strings in Java | ABC
5:42
ABC - Technology Training & Upskilling
Рет қаралды 54 М.
Introduction to MAP Data Structure in Java | HashMap in Java with Example | ABC
12:40
ABC - Technology Training & Upskilling
Рет қаралды 44 М.
За кого болели?😂
00:18
МЯТНАЯ ФАНТА
Рет қаралды 3,2 МЛН