- Tag results for Joe Root
England, fresh from an emphatic away Test series win in Sri Lanka that followed a home success against top-ranked India, will be firm favourites.
Kohli had smashed seven fours and a six against an inexperienced attack before English-born Hardie dismissed him, nonchalantly tossing the ball in the air in celebration.
England claimed a hard-fought 42-run win over Sri Lanka in the third test with a day to spare Monday to complete a 3-0 whitewash.
Bairstow, playing his first Test of the series having been injured at Galle and left out at Kandy, then passed his century, removing his helmet and celebrating with gusto.
Spinner Akila Danajanya, whose action is under investigation by the International Cricket Council, claimed six wickets on the turning pitch.
England got off to a shaky start in Galle, losing five wickets for just 103 runs, with debut opener Rory Burns back in the pavilion for nine, Moeen Ali out first ball and Ben Stokes gone for seven.
England's varied attack, which features three seamers and three spinners, probed persistently through the morning as captain Root employed attacking field placements.
Eoin Morgan hit 11 fours and two sixes in his 91-ball innings that formed the core of the England score after Sri Lanka won the toss and put the tourists in.
Warne, who is promoting his autobiography, said Root is England's best player but would be disappointed with his conversion rate when it came to hundreds.
Jimmy Anderson overtook Australia's Glenn McGrath to become the most successful fast bowler in Test history, with 564 wickets.
Joe Root's England side are now just one point behind South Africa and Australia, who are both on 106 points with the former marginally ahead on decimal points.
The day certainly belonged to Cook, who scored his 33rd hundred his last appearance to join a select band of players having scored a hundred on debut and final Test.
Cook's 181-run third-wicket partnership with his successor as captain, Joe Root, who is unbeaten on 92, has taken England's lead to 283.
Buttler and Stuart Broad frustrated India with a ninth-wicket stand of 98 as, yet again this series, England bounced back with the bat after a top-order collapse.
Cook, who walked out to a guard of honour from the India team, was soon into his stride with two trademark boundaries off successive balls from fast bowler Jasprit Bumrah.