public class Main { public static void main(String[] args) {
// String = a reference data type that can store one or more characters // reference data types have access to useful methods
String name = "Bro";
//boolean result = name.equalsIgnoreCase("bro"); //int result = name.length(); //char result = name.charAt(0); //int result = name.indexOf("o"); //boolean result = name.isEmpty(); //String result = name.toUpperCase(); //String result = name.toLowerCase(); //String result = name.trim(); //String result = name.replace('o', 'a');
This is the best Java tutorial for beginners, so you can learn Java and English in one hit. Please keep going! I vote for Java advance tutorial. Thanks a lot Bro
What if my assigned name has two letters "e" for example Venera? And when I assign variable "int result = name.indexOf("e")" and run it. The result is shown as 1 (second character in the word "Venera"), but result does not show the position of the second similar character in the word (it has to be 3). Can you tell me please how to get both positions of letter '''e" in the word being shown in the print statement?
hello bro, I have a simple question for the name I wrote my name "naman" as an example, I tried out the replace string method....so I replaced "a" with "o" so it changed the output to nomon..... Is there any specific way to only change one syllable at a time?
Please help. How do I get it to leave what needs to be in the string? Your says (oldChar, newChar) and when I select which one I want, it just says (0, 0). Please
public class Main {
public static void main(String[] args) {
// String = a reference data type that can store one or more characters
// reference data types have access to useful methods
String name = "Bro";
//boolean result = name.equalsIgnoreCase("bro");
//int result = name.length();
//char result = name.charAt(0);
//int result = name.indexOf("o");
//boolean result = name.isEmpty();
//String result = name.toUpperCase();
//String result = name.toLowerCase();
//String result = name.trim();
//String result = name.replace('o', 'a');
//System.out.println(result);
}
}
thanks man you are better than my teacher
As usual, you teach more in a 6-minute video than an hour of class time. Thank you!
Thanks , Bra!!!
😁
Victoria secret😂
your teaching is very different that's why we love it
This is the best Java tutorial for beginners, so you can learn Java and English in one hit. Please keep going! I vote for Java advance tutorial. Thanks a lot Bro
Sir, it would be very nice of you if you make a video on regular expressions and bitwise operators.
Thank You!
yes, please! good suggestion Arka
Thank you very much.
Also I think it's worth mentioning that if idexOf() does not return an element it will return -1
What if it has many indexes
@@I_am_FRANCO it returns the index of the first element found
Best Java tutorial. I love it
Best teacher I have encountered online. Thanks for all your help!
Very useful and made understandable for newbies. :) Thanks!
great video!!! I'm infinitely grateful for your dedication and big heart to share this knowledge with the world. Thank you soo much
Great stuff , its wonderful how i can learn all sub topics and even units in just 6-10 mins through your videos
Bro U are Great ... Very Nice Concepts Given Thanks Sir ... Bro Code always
Thanks bra
great content brother ur way of teaching is good
I have java exam tomorrow and your helping me so much bro thanks
Understood String methods. 17th. Thank you, ma Bro Sensei!
Thank you bra
wow bro, nice! learned a new method)
Find the first occurrence of the letter "e" in a below string, starting the search at position 8
"Welcome to Techschool" How to code this?
Thank you!
The best and always the best mentor!!!!!!! I love you!!!!
lets go this is another w tutorial
they are principal methods in Java String
5:41 you're new name is Bra, thank you for your helpful sir
Mans a genius 😂
What if my assigned name has two letters "e" for example Venera? And when I assign variable "int result = name.indexOf("e")" and run it. The result is shown as 1 (second character in the word "Venera"), but result does not show the position of the second similar character in the word (it has to be 3). Can you tell me please how to get both positions of letter '''e" in the word being shown in the print statement?
maybe using a loop
same question bro
@@buckuris1019 thanks bro
Not only i learned , i also had a good laugh by myself at the end 😅
me too lol BRAther!
@@karunapanta2645 BROTHERRRRRRRRRRRRRRRRRRRRRR BAHAHAHAHAHAHAHAHAHA
you are like Miyagi of java
I was trying so hard to find where was the mistake that I did in my program and finally I found it thank you so much !!!!
U forgot substring. Very useful
hello bro, I have a simple question for the name I wrote my name "naman" as an example, I tried out the replace string method....so I replaced "a" with "o" so it changed the output to nomon..... Is there any specific way to only change one syllable at a time?
mantap bro, dari awal lu gw tontonin terus
Sadly the TH-cam God did not hear the prayer's. Very good how to Videos bro.
you are effectively my prof bro
Please help. How do I get it to leave what needs to be in the string? Your says (oldChar, newChar) and when I select which one I want, it just says (0, 0). Please
Obrigado! 👏
nice ones bro thank you so much!
very useful!
love it bro!
תוכן מעולה גם בישראל אוהבים אותך
Thank you very much!
Wonderful work 😮
very nice tutorial, but, I want to ask, what is your real name
Broo you are awesome
an another method is .subString(beginIndex, endIndex);
Thanks Bro for a great lesson :)
Thanks
amazing!!!
still so useful! Thank you
realy nice
Good job bro
you da bestttttt!
Thanks, bro!
Thanks bro
Nice
thank u bro
Nice.
Great Bro♥
Thanks, Bro!
Thank you 💙💙💙💙💙
thanks brooooooooooooooooooooooooooooooooooooooooooooooooooo
best bro
Thanks, Bro! ☕
thank's bro =3
Feels like Excel lessons
King
5:43 🤣 Tq brA
5:43 Dudee i wouldn't call you bra lol
You don't have to lol
@@BroCodez bra
So many ladies and gentlemen didn't pray for the algorithm :(
😍😍😍
👍
W
💕🙌👌
Ακόμα ένα Video για τη Java από το κανάλι του Bro Code.
thank you meow
❤️
1:40
comment for algorithmm
Yeh
Thanks, Bro 06/02/2024
accce
learmnt
Add a comment....
"Video 17"
Hello, bra!
I love Bro and bra
BRA code!
YT Algo
comment
now my name is bra
shoe strings
Cmment
Bra chain👇(?)
System.out.println("Ty Bro");
bro
Whith the last replace your name became suited for girls boo...bies 🤭
thanks
Thanks bro
Nice