Rob Key, the newly appointed managing director of the England cricket board, told Sky Sports this week that the duo could feature for England this summer and were keen to be involved.

"Stuart and I were hoping our careers weren't over. So it's nice to hear there's a chance," Anderson told the BBC.

"It still means we've got to put in some performances here with our counties to prove that we're playing well enough to get in that final 11.

"Because of the situation and not having people in these roles, you're just so unsure of what's going to happen. So now having that clarity is really nice."

England unveiled Stokes as their test captain on Thursday, hoping for a swift turnaround after a tame end this month to Joe Root's five years in charge.

Stokes' first assignment will be a two-match home series in June against New Zealand.