Cross trainers are pretty good for building stamina, but as others have said there's plenty of other ways too. If you're short on time and have a local gym they can be great, but usually part of a wider fitness routine.
I love mine, but went for a home gym, so that's only really an option if...