What? B777 is of superior interior design?
Its cabin is so wide that airlines cannot install only 6 normal long haul business class seats economically, so most airlines use 7-abreast design, thus making passengers have to suffer middle seat.
This also makes airlines cannot install 8 normal economy class seats per row economically, and have to install 9 or even very congested 10 seats per row, thus some passengers are 2 seats away from aisles, and the seats are dubbed as 'double excuse-me' seats.
On the contrary, A340 is of narrower fuselage, so airlines can use 6-abreast business class design having no unwelcomed middle seats, 8-abreast economy class design with no passengers more than 1 seat away from aisles and hence no 'double excuse-me'.
And B777 uses only drop-down bins, so there are less headroom when the bins are opened, and there is risk of luggage fall onto the seats causing serious injury to passengers.
On the contrary A340 uses only articulated bins instead of drop-down bins, so there are always 76" (1.93m) of headroom below the bins. This also prevents nuisance to passengers during mid-flight when the bins are opened, and prevents injury to passengers due to luggage fall.
What's more is the articulated bins can be removed in A340 according to demand, such as provision of seat side personal storage space in first class, thus making even larger headroom of 94" (2.36m), much better than B777 of only 74" (1.88m) headroom below middle bins when closed.