Which of the following lines of code would correctly add an item to a list called classes?

There are multiple ways to add an item to a list called `classes` in different programming languages. Here are some examples:

Python:
1. `classes.append(item)`
2. `classes += [item]`
3. `classes.insert(len(classes), item)`

Java:
1. `classes.add(item)`
2. `classes.add(classes.size(), item)`

JavaScript:
1. `classes.push(item)`
2. `classes[classes.length] = item`

C++:
1. `classes.push_back(item)`
2. `classes.insert(classes.end(), item)`

Please note that different programming languages have their own syntax and conventions for adding items to lists or arrays. Make sure to use the appropriate syntax for the programming language you are working with.