If a flight out of JFK is under the company Delta but is operated by Alitalia, would you be flying on an alitaia plane or a delta plane? or is it random?
It would be an Alitalia aircraft.
If it is a Delta flight number operated by Alitalia then the flight is on an Alitalia aircraft.
Delta has placed a codeshare on that flight.