If there is no person in the app, the expected behavior of the application should be either an error message of No person added yet or just a message of 0 person is listed. But now the application only prints out Listed all persons, which is not clear enough and might confuse users who think they do have persons entered.
If there is no person in the app, the expected behavior of the application should be either an error message of
No person added yet
or just a message of0 person is listed
. But now the application only prints outListed all persons
, which is not clear enough and might confuse users who think they do have persons entered.