filmov
tv
Java Validation: Length Check Tutorial (Part 2)
Показать описание
Java Validation: Length Check Tutorial (Part 2)
Greetings, today I shall be teaching you how to preform a length check in Java to help you get that A in your practical exam. We will be using 3 variables, one to store the user input we are length checking, the minimum value the length can be and the maximum value We pass these values into a method and check if the input is greater than the mminimum and less than the maximim. If this is true then tell the user their input was valid but iff they are false (or one of them) then tell the user their input was invalid.
I will be uploading 1 video a day during the easter holidays so subscribe to be notified when I upload!
Social media:
Greetings, today I shall be teaching you how to preform a length check in Java to help you get that A in your practical exam. We will be using 3 variables, one to store the user input we are length checking, the minimum value the length can be and the maximum value We pass these values into a method and check if the input is greater than the mminimum and less than the maximim. If this is true then tell the user their input was valid but iff they are false (or one of them) then tell the user their input was invalid.
I will be uploading 1 video a day during the easter holidays so subscribe to be notified when I upload!
Social media: