Lesson 61 Strings - Part 3 - Password Validity Check Program - Programming Logic Part -12

Опубликовано: 01 Январь 1970
на канале: JavaJourneyWithMadhavi
10
1

In this video, three programs are discussed. 1. Different ways of creating String objects 2. Password validity check program using length() and charAt() methods of String class. 3. Password check three times, three unsuccessful attempts, stop the program.

Link to the Book - Essentials of Computer Applications:

https://www.amazon.in/Essentials-Comp...

Link to Lesson 59:

   • Lesson 59   String Handling - Part 1 - Int...  

Practice Exercise - Lesson 61: Using length () and charAt () methods of String class.

Modify the password check program in such a way, after 3 unsuccessful attempts, display the message,

“3 attempts are over. Try again.”