Are the similarities between the Offspring's 'Why Don't You Get a Job?' and the Beatles' 'Ob-La-Di, Ob-La-Da' simply coincidence?

Are the similarities between the Offspring's 'Why Don't You Get a Job?' and the Beatles' 'Ob-La-Di, Ob-La-Da' simply coincidence?