Java Validation: Lookup table

preview_player
Показать описание
Java Validation: Lookup table

Hello guys, it's Max ODidily here and today I shall ne teahcing you how to validate user input via a lookup table to help you get that A in your practical exam. We get ther user input and create a 1D array to store all valid values for the user input. We will loop through a for loop and compare the user input with the respected element. If it is valid set valid to true. After we finish the loop we return true or false depending on the value of valid.

Easter holidays are over but I will try to upload as often as possible. Why not subscribe to keep notified when I upload?

Social media:
Рекомендации по теме
Комментарии
Автор

Hi! Loved your video. If possible, please make a video on arrays and loops. Thanks! 🙏

augustoliver