(CNN) -

Yahoo shares rise 4% in after-hours trading as fourth-quarter sales of $1.2 billion beat expectations.