132k views
3 votes
You need to design an online login form in which users have to type their name and password to log into an application. The password can be a combination of numbers and letters. Which data type is most suitable for a password field? The __________ data type is most suitable to define a password field.

User Xarbrough
by
7.6k points

2 Answers

5 votes

Answer:

I don't know the answer but I got the answer the person above gave wrong!

Step-by-step explanation:

comment if u know it and help someone else out

User Cristian Siles
by
8.2k points
2 votes

Answer:

The String data type is most suitable to define a password field.

Step-by-step explanation:

Most of the times the passwords contain letters, numbers and spaces. That is why we use string data types. It also depends upon the programming language that we are working in. In C language string data type is used and (VARCHAR is used in MySQL.

User Priya Dharshini
by
8.4k points