Java Input Validation with a While Loop APPFICIAL

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

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

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

    You're the best Sir, your work is much appreciated

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

      No, you're the best! Thanks for your comment and support!

  • @tep-gn4rk
    @tep-gn4rk 4 года назад +13

    I spent hours reviewing class material to try and understand this concept and this video made me understand in less than four minutes. Thank you so much!

    • @Appficial
      @Appficial  4 года назад +1

      You're welcome, glad to help

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

    BRO BROOOO THANK YOU SO MUCH, IM STUCK AT DO WHILE LOOP AND FORGETTT TO USE WHILE (CONDITION) THANKUUUU BROOO FOR UR VIDEOOO SIMPLE AND EASY TO UNDERSTANDDD

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

      Thanks bro, glad to help

  • @Appficial
    @Appficial  5 лет назад +1

    Please SUBSCRIBE! More programming videos coming soon! ✌️

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

    is increment/decrement necessary in this scenario?

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

    lord bless you brother

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

    If you input character, what well happen?

  • @fouzidarrouj5164
    @fouzidarrouj5164 4 года назад +3

    what should I do if user input String ??

    • @Appficial
      @Appficial  4 года назад +1

      See the playlist on exception handling

  • @cookeat6419
    @cookeat6419 Год назад +1

    Thank you so much!

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

    Thank you this helped a lot. In my code I am checking that the input is an integer using :
    while (!in.hasNextInt()){
    but the code prints the 'error message' for every single word in the input i test with.
    For example I would write "a a a hello a a" and it would print "please enter an integer x6 times. How can I fix that?

  • @Bloom-pq8nf
    @Bloom-pq8nf 2 года назад +1

    Beautiful

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

    OMFG!!! This helped me so much!! Thans man!

  • @juice787
    @juice787 Год назад +1

    I spent hours searching online t’il I finally found your video and all I had to do is remove the second int from int age

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

    thank you

  • @hehehazim
    @hehehazim 4 года назад

    thanks

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

    thank you