16 × 2 LCD is so named because; It has 16 columns and 2 rows. There are a lot of combinations available like, 8 × 1, 8 × 2, 10 × 2, 16 × 1, etc. but the most used is the 16 * 2 LCD, therefore, we are using it here.
The entire LCD screen mentioned above will have 16 pins and the programming approach is also the same and therefore the choice is left to you. Below is the pinout and 16x2 LCD module pin description: