Pilots are lucky enough to have their own sleeping area, with two roomy beds and two business-class seats. Depending on the airline they can even sometimes have room for a closet, sink or bathroom.
The best are usually feet long and and a half feet wide and are separated by heavy curtains.
Speaking of separation, there’s as sign that strictly prohibits more than one person per bunk… so no mile-high action here…. *wink wink*