I am not a teacher.
You mean they imply, not infer, the same thing.
In this case they do carry almost the same meaning.
The very slight possible difference, depending on the context, is that 1. could mean either one option or the other is feasible (but not both) while 2. states that both are feasible.
Interested in Language