i really need your help in getting a solution for two problems i am facing..
1) i have a program where the user enters the
Day e.g Saturday
the data type of the day is String.. i want to add a validation as the probram should accpet only characters not integer on this variable so how can i do it..
2) the second question is i want the user to enter the day to continue to press on Enter key to quit.. how can the prgram understand the Enter key for quitting..
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts.
Introduce Scanner class: