In how many ways can 4 letters be posted in 5 letter boxes?
First letter can be posted in any of the 5 letter boxes i.e. in 5 ways.
Similarly, each one of the other 3 letters can be posted in any of the 5 letter boxes i.e. in 5 ways.
As, the operations are dependent, so, total number of ways
= 5 4.