The following table provides the detailed memory specifications of Vostro 5402.
Two SO-DIMM slots
DDR4
3200 MHz
32 GB
4 GB