Java String methods 💬

Поделиться
HTML-код
  • Опубликовано: 22 авг 2024

Комментарии • 119

  • @BroCodez
    @BroCodez  3 года назад +91

    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);
    }

    }

    • @livano0166
      @livano0166 Год назад +5

      thanks man you are better than my teacher

  • @Diamond_Hanz
    @Diamond_Hanz 3 года назад +124

    Thanks , Bra!!!

  • @JuliHoffman
    @JuliHoffman 2 года назад +44

    As usual, you teach more in a 6-minute video than an hour of class time. Thank you!

  • @gjbjagadish_185
    @gjbjagadish_185 2 года назад +6

    your teaching is very different that's why we love it

  • @mahdisarvarzade9988
    @mahdisarvarzade9988 2 года назад +5

    Best Java tutorial. I love it

  • @pavelkvasnicka6856
    @pavelkvasnicka6856 Год назад +2

    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

  • @JustNeutral14.
    @JustNeutral14. 28 дней назад +1

    lets go this is another w tutorial

  • @arkamukhopadhyay2177
    @arkamukhopadhyay2177 3 года назад +14

    Sir, it would be very nice of you if you make a video on regular expressions and bitwise operators.
    Thank You!

  • @A0afro
    @A0afro Год назад +7

    Thank you very much.
    Also I think it's worth mentioning that if idexOf() does not return an element it will return -1

    • @I_am_FRANCO
      @I_am_FRANCO 9 месяцев назад +1

      What if it has many indexes

    • @cripton2267
      @cripton2267 9 месяцев назад +2

      @@I_am_FRANCO it returns the index of the first element found

  • @mummahadarsal3739
    @mummahadarsal3739 2 года назад +1

    Bro U are Great ... Very Nice Concepts Given Thanks Sir ... Bro Code always

  • @cadestocker2423
    @cadestocker2423 Год назад

    Best teacher I have encountered online. Thanks for all your help!

  • @baubaudinamo
    @baubaudinamo 3 года назад +5

    Thank you!

  • @borislove4700
    @borislove4700 3 года назад +3

    wow bro, nice! learned a new method)

  • @Felix_1811
    @Felix_1811 3 месяца назад

    I have java exam tomorrow and your helping me so much bro thanks

  • @Muhammadfaisal-kd9kx
    @Muhammadfaisal-kd9kx 9 месяцев назад

    great content brother ur way of teaching is good

  • @user-ox9er8yo9b
    @user-ox9er8yo9b 2 месяца назад

    תוכן מעולה גם בישראל אוהבים אותך

  • @prathamselopal7197
    @prathamselopal7197 10 месяцев назад

    Great stuff , its wonderful how i can learn all sub topics and even units in just 6-10 mins through your videos

  • @honoredegg
    @honoredegg 2 года назад +1

    Understood String methods. 17th. Thank you, ma Bro Sensei!

  • @izzahzamri2267
    @izzahzamri2267 2 года назад +1

    The best and always the best mentor!!!!!!! I love you!!!!

  • @baubaudinamo
    @baubaudinamo 3 года назад +1

    you are like Miyagi of java

  • @themotivated2963
    @themotivated2963 2 года назад +2

    Not only i learned , i also had a good laugh by myself at the end 😅

    • @karunapanta2645
      @karunapanta2645 2 года назад +1

      me too lol BRAther!

    • @forstudyonly5232
      @forstudyonly5232 10 месяцев назад

      @@karunapanta2645 BROTHERRRRRRRRRRRRRRRRRRRRRR BAHAHAHAHAHAHAHAHAHA

  • @thomascooks9197
    @thomascooks9197 3 года назад +1

    Sadly the RUclips God did not hear the prayer's. Very good how to Videos bro.

  • @percivalgebashe4376
    @percivalgebashe4376 Год назад

    Nice

  • @arjundas7078
    @arjundas7078 Месяц назад

    love it bro!

  • @crlsable
    @crlsable 3 года назад +6

    Obrigado! 👏

  • @wentaogao2745
    @wentaogao2745 5 месяцев назад

    you are effectively my prof bro

  • @paia6447
    @paia6447 2 года назад +1

    5:41 you're new name is Bra, thank you for your helpful sir

    • @urimsuh
      @urimsuh 2 года назад

      Mans a genius 😂

  • @cesara9747
    @cesara9747 2 года назад +2

    very useful!

  • @aiueo8962
    @aiueo8962 Год назад

    mantap bro, dari awal lu gw tontonin terus

  • @aditipatil3807
    @aditipatil3807 Год назад

    Thanks

  • @PoorwayTraning
    @PoorwayTraning Год назад

    thanks

  • @bbcguy8327
    @bbcguy8327 2 года назад +1

    U forgot substring. Very useful

  • @samiaiqbal1847
    @samiaiqbal1847 Год назад

    Wonderful work 😮

  • @tlou_page
    @tlou_page Год назад

    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 !!!!

  • @Ragehunter
    @Ragehunter Год назад

    nice ones bro thank you so much!

  • @user-gd2dg9hj3m
    @user-gd2dg9hj3m 7 месяцев назад

    you da bestttttt!

  • @ardcodelover
    @ardcodelover Год назад

    realy nice

  • @MATHMAN-qz3de
    @MATHMAN-qz3de 8 месяцев назад +1

    Thank you bra

  • @chsaireddy22
    @chsaireddy22 Год назад

    5:43 🤣 Tq brA

  • @admoonhermiz1
    @admoonhermiz1 5 месяцев назад

    amazing!!!

  • @sanaaken9
    @sanaaken9 Год назад

    Good job bro

  • @BarbaraAngelin
    @BarbaraAngelin 4 месяца назад

    thank u bro

  • @alexeybudkovskiy
    @alexeybudkovskiy Год назад

    Thanks Bro for a great lesson :)

  • @user-zq6yx7of5f
    @user-zq6yx7of5f Год назад

    Thank you very much!

  • @hemanthsai962
    @hemanthsai962 Год назад

    W

  • @huuloc8719
    @huuloc8719 2 года назад

    Nice.

  • @matinmonshizadeh
    @matinmonshizadeh 2 года назад

    thanks brooooooooooooooooooooooooooooooooooooooooooooooooooo

  • @medjl6083
    @medjl6083 3 года назад +3

    they are principal methods in Java String

  • @techballerina
    @techballerina Год назад

    still so useful! Thank you

  • @pa-305
    @pa-305 3 года назад

    best bro

  • @scripts209
    @scripts209 18 дней назад

    Thanks bra

  • @Horatius_23
    @Horatius_23 Год назад

    Thanks, bro!

  • @salahadinshemsu6186
    @salahadinshemsu6186 Год назад

    Thanks bro

  • @mindreader860
    @mindreader860 3 года назад

    Great Bro♥

  • @marinayounas6845
    @marinayounas6845 2 года назад

    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?

  • @rajeevdey_8894
    @rajeevdey_8894 2 года назад +1

    an another method is .subString(beginIndex, endIndex);

  • @hunkywarrior3492
    @hunkywarrior3492 3 года назад

    Thanks, Bro!

  • @huseinrahiym463
    @huseinrahiym463 3 года назад +5

    5:43 Dudee i wouldn't call you bra lol

  • @nerrixj.l.6102
    @nerrixj.l.6102 2 года назад

    😍😍😍

  • @danny.3036
    @danny.3036 3 года назад

    Thanks, Bro! ☕

  • @johan-oe9kz
    @johan-oe9kz 2 года назад

    👍

  • @adityaalshi7081
    @adityaalshi7081 2 года назад

    💕🙌👌

  • @disbar963
    @disbar963 2 года назад

    thank's bro =3

  • @arielkarat4338
    @arielkarat4338 Год назад

    thanks bro

  • @Docendo1121discimus
    @Docendo1121discimus Год назад

    Feels like Excel lessons

  • @alexyakoveno4682
    @alexyakoveno4682 Год назад

  • @irajgharaee7057
    @irajgharaee7057 3 года назад

    ❤️

  • @ghoggaliabdou4222
    @ghoggaliabdou4222 3 года назад

    Thank you 💙💙💙💙💙

  • @Simis999
    @Simis999 Год назад

    So many ladies and gentlemen didn't pray for the algorithm :(

  • @wallstreetbets7741
    @wallstreetbets7741 2 года назад

    learmnt

  • @anibender4822
    @anibender4822 2 года назад +3

    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?

  • @dumbcat720
    @dumbcat720 Год назад

    thank you meow

  • @kingkock1
    @kingkock1 2 года назад

    accce

  • @alialhussain4139
    @alialhussain4139 2 месяца назад

    Thanks, Bro 06/02/2024

  • @lukedecum
    @lukedecum 11 месяцев назад

    bro

  • @GOODBOY-vt1cf
    @GOODBOY-vt1cf 3 года назад +1

    1:40

  • @abhiudaitiwari8039
    @abhiudaitiwari8039 2 года назад

    very nice tutorial, but, I want to ask, what is your real name

  • @karunapanta2645
    @karunapanta2645 2 года назад

    BRA code!

  • @namankapooor
    @namankapooor Год назад

    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?

  • @eugenezuev7349
    @eugenezuev7349 4 месяца назад

    I love Bro and bra

  • @thomasfahy1926
    @thomasfahy1926 2 года назад

    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

  • @nikitassouvatzis1928
    @nikitassouvatzis1928 Год назад

    Ακόμα ένα Video για τη Java από το κανάλι του Bro Code.

  • @siavashdarvishi855
    @siavashdarvishi855 Год назад

    Add a comment....

  • @flake1943
    @flake1943 3 года назад

    YT Algo

  • @itstueh
    @itstueh Год назад

    comment

  • @relaxjam1952
    @relaxjam1952 3 месяца назад

    now my name is bra

  • @patrickpasaje4037
    @patrickpasaje4037 3 года назад

    "Video 17"

  • @fuaidaamreen4693
    @fuaidaamreen4693 3 года назад

    Hello, bra!

  • @greeneggsandmushrooms9855
    @greeneggsandmushrooms9855 3 года назад

    shoe strings

  • @grozageorge2887
    @grozageorge2887 Год назад

    Whith the last replace your name became suited for girls boo...bies 🤭

  • @quanyufeng579
    @quanyufeng579 2 года назад

    Cmment

  • @rerein_fmv
    @rerein_fmv 2 года назад

    Bra chain👇(?)

  • @dalv8749
    @dalv8749 Год назад

    System.out.println("Ty Bro");

  • @MrLoser-ks2xn
    @MrLoser-ks2xn 2 года назад

    Thanks

  • @engirckt5410
    @engirckt5410 2 года назад

    Nice

  • @ibrahimylmaz8378
    @ibrahimylmaz8378 2 года назад

    Thanks bro

  • @yeliza2350
    @yeliza2350 2 года назад

  • @maciejkaminski8535
    @maciejkaminski8535 3 года назад

    comment