How do you write the contents of 3 files into a single file?

cat file1 file2 file3 > file

Category: UNIX Interview Questions.