The B747-400 will be around a while longer.
The classics were going within 6 months...7 years later the last one left.
A full B747-400 to Orlando has the same operating cost as an A330.
BTW...the basic weight of an A340-600 is 179.2T and the B747-400 is 177.4T and carries more pax/freight.